> >  my @lines = <IN>
> >  for ( @lines ) {
> 
> That shouldn't be neccessary. The construct
>    while (<IN>) {
> is a specialcased as a shorthand for
>    while (defined($_ = <IN>)) {
while (<IN>) is slower then @lines=<IN>
 // first reades file line by line, second
 //  gets it in one(hopefully) HD access,
 // although it's not the best solution for big files
 // on small memory machines.


--
Dariusz Pietrzak
Certified Nobody


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to