Petr Pajas > XML-XSH2-2.1.6 > XML::XSH2::Compile

Download:
XML-XSH2-2.1.6.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 2.1.6   Source   Latest Release: XML-XSH2-2.1.17

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

SEE ALSO ^

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

syntax highlighting: