NAME
XML::XSH2::Compile - Create modules with built-in XSH commands
SYNOPSIS
package Foo;
# perl code
use XML::XSH2::Compile;
# XSH Language commands (see L<XSH>)
no XML::XSH2::Compile;
# perl code
1;
DESCRIPTION
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.
See Module::Compile for more details.
REQUIRES
Module::Compile, XML::XSH2
EXPORTS
None.
AUTHOR
Petr Pajas, pajas@matfyz.cz