"be consistent" | |
PerlMonks |
Re: (jeffa) Re: Something like c++'s static?by perrin (Chancellor) |
on Aug 02, 2002 at 17:43 UTC ( [id://187162]=note: print w/replies, xml ) | Need Help?? |
Damian's example is fine if you need to hide all variables behind methods, but the use of closures often confuses newbies. The simple answer to this question is to just use a (package-scoped) global:
In Section
Seekers of Perl Wisdom
|
|