not trying to re-obfuscate what we were trying to make simpler, but this would move everything back into one statement, instead of trying for $found and then testing it:
for (LIST) { do{ something; last; } if ($_ eq $wanted) }
In reply to Re: Re: Re: Interesting Use of Grep
by AidanLee
in thread Interesting Use of Grep
by AidanLee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |