P is for Practical | |
PerlMonks |
Perl Warnings...by Rodster001 (Pilgrim) |
on Jan 27, 2009 at 17:10 UTC ( [id://739256]=perlquestion: print w/replies, xml ) | Need Help?? |
Rodster001 has asked for the wisdom of the Perl Monks concerning the following question:
Hello There,
So, I might get burned for asking this, but it has been on my mind and I want to really understand. I tend to avoid using -w for one reason, it complains about a habit I have. I like to do this:
Is this really *that* bad? If so why? And how would you rewrite the same block? Just omit the my's or use different variable names? Also, if I "reuse" $query, $sth, $rv several times (as in the above example) what is actually happening in memory? Thanks for your insight and helping me be a better Perl programmer :)
Back to
Seekers of Perl Wisdom
|
|