On Sat, 2006-24-06 at 01:09 +0200, Dr.Ruud wrote: > "Omega -1911" schreef: > > > while( <IN> ){ > > chomp; > > push @past_bids, $_; # push remaining lines into array > > } > > That is (almost) the same as > > chomp( @past_bids = <IN> ) ; > > > Why do you insist on slurping the remaining lines in an array? > > If the file is 900 MB (mb is millibits), that could slow the program > (and the whole machine) down a lot.
If you change the subject of the message, change the subject of the Subject! -- __END__ Just my 0.00000002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle * Perl tutorials at http://perlmonks.org/?node=Tutorials * A searchable perldoc is at http://perldoc.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>