Perl: the Markov chain saw | |
PerlMonks |
Re: logical non-short-circuit operatorsby ikegami (Patriarch) |
on Nov 02, 2011 at 18:59 UTC ( [id://935475]=note: print w/replies, xml ) | Need Help?? |
Why? Does field_as_text have a side effect? If so, it's poorly named. If the assignments are the side effects you want to perform unconditionally, then move them out of the condition.
If it's a scoping issue, create a scope.
In Section
Seekers of Perl Wisdom
|
|