Perl: the Markov chain saw | |
PerlMonks |
Re: Passing filename to Log::Stdby borisz (Canon) |
on Apr 12, 2006 at 20:04 UTC ( [id://542938]=note: print w/replies, xml ) | Need Help?? |
The module is working fine.
You just initialize the var $filename to late. use implies a BEGIN block. So your $filename is undef unless you initialize it also in a BEGIN block.
or call import yourself.
Boris
In Section
Seekers of Perl Wisdom
|
|