"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.

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
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