I have been guilty of writing
is this a "wrongly" used grep? Should I be writing something like-do_something() if (grep /something/, @array);
... the grep seems easier on the eye IMO. Is it OK if you know the data source is always going to be small?foreach (@array){ &do_something() and last if /something/; }
In reply to Re: (tye)Re: playing with map
by greenFox
in thread playing with map
by coolmichael
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |