in reply to Re: reading several lines in a gulp
in thread reading several lines in a gulp

Now guess what perl does under the hood...

Replies are listed 'Best First'.
Re^3: reading several lines in a gulp
by anonymized user 468275 (Curate) on May 02, 2011 at 08:43 UTC
    Yes, but if you read a whole file into an array, in spite of such optimisation being reasonable at that point, Perl won't reorganise your code to minimise memory usage, nor does it provide hooks to insert your code per iteration of such optimisation.

    One world, one people