in reply to Re: Are global variables "bad"?
in thread Are global variables "bad"?
Maybe I'm missing something, but how does wrapping a $dbh handle in a singleton avoid action at a distance? If you've got code flipping AutoCommit on and off don't you have the same potential problems?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Are global variables "bad"?
by samtregar (Abbot) on Apr 22, 2009 at 17:27 UTC |
In Section
Seekers of Perl Wisdom