MPMinus
view release on metacpan or search on metacpan
PerlSetVar config /var/www/foo.localhost/foo.conf
my $config_file = $m->conf("fileconf");
my $config_file = $m->conf("configfiles")->[0];
In configuration file specifies configuration file. In handlers the
getter method $m->conf("configfiles") returns array of loaded
configuration files; the method $m->conf("fileconf") returns main
loaded file
Default: <DOCUMENT_ROOT>/lc(<PROJCET_NAME>).conf
debug
PerlSetVar debug on
$m->log_eror("Oops!") if $m->conf("debug");
Debug flag. The argument can be: on/off; enable/disable; yes/no;
true/false and 1/0 The $m->conf("debug") returns boolean value: 1 --
on, 0 -- off
lib/MPMinus/Manual.pod view on Meta::CPAN
PerlSetVar config /var/www/foo.localhost/foo.conf
my $config_file = $m->conf("fileconf");
my $config_file = $m->conf("configfiles")->[0];
In configuration file specifies configuration file.
In handlers the getter method $m->conf("configfiles") returns array of loaded
configuration files; the method $m->conf("fileconf") returns main loaded file
Default: <DOCUMENT_ROOT>/lc(<PROJCET_NAME>).conf
=item B<debug>
PerlSetVar debug on
$m->log_eror("Oops!") if $m->conf("debug");
Debug flag. The argument can be: on/off; enable/disable; yes/no; true/false and 1/0
The $m->conf("debug") returns boolean value: 1 -- on, 0 -- off
( run in 1.261 second using v1.01-cache-2.11-cpan-49f99fa48dc )