|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: 'do' read fileby cdarke (Prior) |
| on Dec 14, 2011 at 08:51 UTC ( #943497=note: print w/ replies, xml ) | Need Help?? |
|
do will not alter lexical ('my') variables in the outer scope. To achieve this you have to use a package variable, so delare it using our.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||