in reply to (tye)Re: playing with map
in thread playing with map
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/; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re2: playing with map
by tye (Sage) on Mar 11, 2001 at 00:09 UTC | |
|
Re: Re: (tye)Re: playing with map
by mkmcconn (Chaplain) on Mar 10, 2001 at 16:26 UTC | |
by merlyn (Sage) on Mar 10, 2001 at 16:29 UTC |