![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: logical non-short-circuit operatorsby december (Pilgrim) |
on Nov 02, 2011 at 18:55 UTC ( #935471=note: print w/replies, xml ) | Need Help?? |
You're right, of course. The reason I avoided the former approach was because I have a lot of similar statements and I was hoping to keep the assignments in the scope of the conditional so as not to pollute the namespace or by accident reuse an old variable.
In Section
Seekers of Perl Wisdom
|
|