in reply to logical non-short-circuit operators
Is it too unwieldy without placeholder variables, like this?
if ($recFono->field_as_text(102) or $recFono->field_as_text(104)) { something(); }
If so, can your data structure be more concise? Perhaps if ($Fono->text(102) or $Fono->text(104)) {
Otherwise, as moritz says.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: logical non-short-circuit operators
by december (Pilgrim) on Nov 02, 2011 at 18:58 UTC |
In Section
Seekers of Perl Wisdom