in reply to Re: Alas poor grep, I thought I knew him well..
in thread Alas poor grep, I thought I knew him well..
I don't know the whole loop structure, but as a matter of style, I would have put the ending condition up in the while(..) or whatever loop if practical.if (grep {/\Q$choice\E/}@REPORT) { last READ_LOOP; }
I agree with ikegami, why be stingy with ()? They are super cheap (insignificant compile difference) and make things clear.
|
|---|