XML::XSH2::Compile - Create modules with built-in XSH commands
package Foo; # perl code use XML::XSH2::Compile; # XSH Language commands (see L<XSH>) no XML::XSH2::Compile; # perl code 1;
With this module one can efficiently embed XSH2 scripts into Perl modules. In this respect, it is similar to XML::XSH2::Inline, but with XML::XSH2::Compile, all XSH2 blocks are compiled into Perl code the first time the module is run. This makes them execute faster any later time. The compiled result is cached in a ".pmc" file.
XML::XSH2::Inline
XML::XSH2::Compile
See Module::Compile for more details.
Module::Compile, XML::XSH2
None.
Petr Pajas, pajas@matfyz.cz
Module::Compile, xsh, XSH, XML::XSH2, XML::XSH2::Inline
To install XML::XSH2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::XSH2
CPAN shell
perl -MCPAN -e shell install XML::XSH2
For more information on module installation, please visit the detailed CPAN module installation guide.