procplfile


NAME

procplfile - preprocess file using ExtUtils::PerlPP and Communiware::Config


SYNOPSIS

 procplfile [-e] cmw.conf filename.PL filename


DESCRIPTION

procplfile preprocesses preprocessable Communiware file using variables, specified in the given XML configuration file.

By default, only options which are marked with mutable=no are used in preprocessing, becouse all other options should be read by scripts and modules from configuration file at runtime.

Utilite uses ExtUtils::PerlPP package for preprocessing, but overwrites _parseVar function from it. Rewritten function dies if some config variables are undefined.


OPTIONS

-e
Mnemonic - extended option set. If this option is specified, mutable options are used in preprocessing. This mode is intended for installation-time only (sql files which create some objects in database and need database name to do so).

16 октябрь 2007 13:45