NAME
Extism - Extism Perl SDK
DESCRIPTION
Extism https://extism.org/ is a cross-language framework for building with WebAssembly. This distribution integrates Extism into Perl so Perl programmers can easily use WebAssembly. Possibily to add a Plugin system into their application or to integrate native deps without the headache of native builds.
SYNOPSIS
use Extism ':all';
my $wasm = do { local(@ARGV, $/) = 'count_vowels.wasm'; <> };
my $plugin = Extism::Plugin->new($wasm, {wasi => 1});
my $output = $plugin->call('count_vowels', "this is a test");
EXAMPLES
See script/demo-perl-extism and t/02-extism.t
SUPPORT AND DOCUMENTATION
You can find documentation for this module with the perldoc command.
perldoc Extism
Additional documentation, support, and bug reports can be found at the Extism perl-sdk repository https://github.com/extism/perl-sdk
Additional Extism support may be found in the discord server: https://extism.org/discord
LICENSE AND COPYRIGHT
This software is copyright (c) 2024 by Dylibso.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.