- or download this
use Module;
BEGIN {
$Module::variable = 1;
};
- or download this
use Module;
BEGIN {
my $m = new Module;
$m->setConfigVariable();
};
- or download this
use Module qw(-SetConfigVariable);
- or download this
my $MyConfigVar=0;
sub import {
...
$Trace->exit();
}