P is for Practical | |
PerlMonks |
Re^2: Are global variables "bad"?by doom (Deacon) |
on Apr 21, 2009 at 22:57 UTC ( [id://759139]=note: print w/replies, xml ) | Need Help?? |
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?
In Section
Seekers of Perl Wisdom
|
|