Skip to content

Extism Perl Host SDK - easily run WebAssembly modules / plugins from Perl applications

Notifications You must be signed in to change notification settings

extism/perl-sdk

Repository files navigation

Extism perl-sdk

The Perl SDK for integrating the Extism runtime. Add the Extism distribution into your Perl project to run Extism plugins.

Join the Extism Discord and chat with us!

Building and Installation

Installation under local::lib is recommended.

From CPAN: cpanm Extism

Getting Started

Take a look at Extism/script/demo-perl-extism or the tests in Extism/t.

Testing

To test and internet connection is required and you must have the WASI SDK setup with WASI_SDK_PATH pointing to it.

make test

Presentation

The Extism perl-sdk was featured at TPRC 2024: Native deps a pain? WebAssembly can help! Slides are in docs/.

TODO

  • More host function / plugin->call bindings