in reply to variable processing and checking in one statement
for my $t ( $test ) { doWith($t) if check($t); }
avoids $_ completely. Clearly not worth it if your variable is actually just $test.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: variable processing and checking in one statement (for my)
by saunderson (Novice) on Aug 07, 2012 at 00:29 UTC |