XML::XSH2::Compile - Create modules with built-in XSH commands


XML-XSH2 documentation  | view source Contained in the XML-XSH2 distribution.

Index


NAME

Top

XML::XSH2::Compile - Create modules with built-in XSH commands

SYNOPSIS

Top

   package Foo;

   # perl code

   use XML::XSH2::Compile;

   # XSH Language commands (see L<XSH>)

   no XML::XSH2::Compile;

   # perl code
   1;

DESCRIPTION

Top

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

Top

Module::Compile, XML::XSH2

EXPORTS

Top

None.

AUTHOR

Top

Petr Pajas, pajas@matfyz.cz

SEE ALSO

Top

Module::Compile, xsh, XSH, XML::XSH2, XML::XSH2::Inline


XML-XSH2 documentation  | view source Contained in the XML-XSH2 distribution.