Derek B. Smith <[EMAIL PROTECTED]> asked:
> >If you really need to do this in place due to memory constraints, I 
> >would advise to run the iteration from back to front, i.e.

>  And why would this be?  Becasue it does not load the entire 
> data set at once or aka one at a time?

grep creates a new list for the result set. Depending on the
size of the input and results lists, this may be a problem.
In that case, pruning the original list via splice may be a
good idea.

Cheers,
Thomas 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to