|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re^2: Are global variables "bad"?by eric256 (Parson) |
| on Apr 21, 2009 at 18:40 UTC ( #759081=note: print w/ replies, xml ) | Need Help?? |
|
I like the singleton idea. I've used it for DBI connections and config files and it makes it easy to have global behaviour without the downsides of having global variables. At least thats how I see it. ___________ Eric Hodges
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||