good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: 'do' read fileby PhillipHuang (Beadle) |
on Dec 14, 2011 at 09:13 UTC ( [id://943501]=note: print w/replies, xml ) | Need Help?? |
I use 'use vars qw( %cfg );', it can print. and 'our' is also ok. 'vars NOTE: For variables in the current package, the functionality provided by this pragma has been superseded by our declarations, available in Perl v5.6.0 or later'
In Section
Seekers of Perl Wisdom
|
|