Syntactic Confectionery Delight | |
PerlMonks |
Re^2: What are the core points of good procedural software design? (functions, code structuring)by moritz (Cardinal) |
on Jun 23, 2008 at 10:56 UTC ( [id://693486]=note: print w/replies, xml ) | Need Help?? |
or in other words, you're turning global variables into local ones (or in perl terms, lexical vars), and subs into closures.
That can work fine in many cases, but you should be aware of that distinction. Update: slight re-wording.
In Section
Seekers of Perl Wisdom
|
|