package MyLibrary; use Moose; extends 'Dallycot::Library'; ns 'http://www.example.com/library#'; define foo => << 'EOD'; (a, b) :> ((a * b) mod (b - a)) EOD define bar => sub { my($library, $engine, $options, @params) = @_; # Perl implementation };
To install Dallycot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dallycot
CPAN shell
perl -MCPAN -e shell install Dallycot
For more information on module installation, please visit the detailed CPAN module installation guide.