
PApp::Preprocessor - preprocess source like "pxml"

use PApp::Preprocessor; :><html><title><?localtime:></title><:...

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 <:.


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