in reply to Inverted logic
Have you considered a testCondition()? Hmm
A: for(...){ next A if not my_truthiness( $_ ); print $a; }
A: for(...){ unless( my_truthiness( $_ ) ){ next A; } print $a; }
A: for(...){ my_truthiness( $_ ) or next A; print $a; }
A: for(...){ next A unless my_truthiness( $_ ); print $a; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inverted logic
by BrowserUk (Patriarch) on Jul 25, 2013 at 02:19 UTC | |
by Anonymous Monk on Jul 25, 2013 at 07:23 UTC |