Marc Lehmann > PApp > PApp::Preprocessor

Download:
PApp-2.0.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 2   Source  

NAME ^

PApp::Preprocessor - preprocess source like "pxml"

SYNOPSIS ^

 use PApp::Preprocessor;

 :><html><title><?localtime:></title><:...

DESCRIPTION ^

Importing this module preprocesses perl source files using pxml2pcode (see PApp::PCode), using a source filter.

Preprocessing is only one part of papp processing - %S, translations and others need to be imported/initialized seperately.

After use PApp::Preprocessor, the source is still in perl mode, but can be switched to literal text mode using :>, and switched back to perl using <:.

SEE ALSO ^

PApp::PCode.

AUTHOR ^

 Marc Lehmann <schmorp@schmorp.de>
 http://home.schmorp.de/
syntax highlighting: