The Preprocessor Suite consists of two programs, mcat.pl and mflt.pl. 'mcat.pl' joins files together by reading a file that describes how you want your site constructed. Each line of that file tells mcat.pl how to join several files into a final file. On each line you simply list the files you want to concatenate, in order, followed by the name of the final preprocessed file. A Perl module of this script (File::MultiCat) is available at CPAN which lets you add the functionality of this script to your Perl programs with three lines of code. 'mflt.pl' performs filter and replace functions by reading '.mflt' files looking for special commands. It obeys those commands when it writes an '.html' file based on the '.mflt' file. This lets you include files, datestamp pages, and do various other functions. The mflt.pl script searches an entire directory tree for '.mflt' files.
released on 12 December 2004
|License||Verified by||Verified on||Notes|
|GPLv2orlater||Janet Casey||11 March 2005|
Leaders and contributors
|Michael B. Stevens||Maintainer|
Resources and communication
|Bug Tracking||VCS Repository Webview||http://www.mbstevens.com/preprocessor|
|Required to use||Perl 5|
This entry (in part or in whole) was last reviewed on 19 July 2005.