GTM::Preprocessor - Generic frontend for preprocessing GT.M Sources
use GTM::Preprocessor;
my $p = new GTM::Preprocessor;
$p->add("Cache"); # add the GTM::Preprocessor::Cache backend
my $newcontent = $p->run($content);
The preprocessor-engine can be embedded into GT.M
so all sources you compile go to this stack
There is also a gtmpp script which allows you to preprocess outside of GT.M
GTM::Preprocessor is the base class for preprocessing M-Code.
verbose => [0|1] - set verbose level (0 = quiet)
$status is 0 if it worked,
1 if the requested preprocessor was not found
2 if the requested preprocessor returned an error
while initialization
the GTM manpage, the GTM::Perl manpage, the GTM::GlobalTie manpage, the GTM::Preprocessor::Cache manpage.
Cac, the Cac::ObjectScript manpage, the Cac::Global manpage, the Cac::Routine manpage, the Cac::Util manpage, the Cac::Bind manpage.
Stefan Traby, <stefan@hello-penguin.com> http://www.hello-penguin.com/gtm-perl
Copyright (C) 2004 by Stefan Traby <stefan@hello-penguin.com> Copyright (C) 2004 by KW-Computer Ges.m.b.H., Graz, Austria
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL).
In addition to this license
Sanchez Computer Associates, Inc.
40 Valley Stream Parkway
Malvern, PA 19355, USA
has the non-exclusive right to do what ever they want with this code.