|
|
|
Using In-Line Perl Code
In-line perl code in <?perl ... ?> processing instructions can be executed much like scripts, and the same subset of the Apache API is available as in the perl script support described in the API section. Note that the default value for the "Perl Tag Support" configuration option is "No", and that this has to be changed to "Yes" for in-line Perl code to be executed. Also note that the "RXML-parse tag results" option has to be switched to "Yes" if you want the output produced by the Perl code to be RXML parsed afterwards. An example perl PI tag: <?perlRoxen->request()->print(scalar localtime); ?> |
|||||||||||