in reply to Re: Are global variables "bad"?
in thread Are global variables "bad"?
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Are global variables "bad"?
by gwadej (Chaplain) on Apr 21, 2009 at 18:56 UTC |
In Section
Seekers of Perl Wisdom