Next: Including Examples Previous: Special option: localize Contents: Contents |
The second special case of inclusion is a file type of "Perl"
.
// include PerlPoint \INCLUDE{type=perl file="dynamicPP.pl"} |
Inluded Perl is active contents - see the special chapter about it.
If active contents is enabled, included Perl code is evaluated. The code is expected to produce a PerlPoint string which then replaces the inclusion tag and is read like static PerlPoint.
If the included code fails, an error message is displayed and the result is ignored.
Next: Including Examples Previous: Special option: localize Contents: Contents |