Re: better way to skip first few lines of file read?



"R" == Ruud <rvtol> writes:


R> The "for 1 .. $n" is OK, unless a very large $n would mean that precious
R> memory is wasted.

that wasteful expansion has been fixed for a while now. for will detect
that and convert it to a simple loop counter and not expand the list of
numbers if it is large.

uri

--
Uri Guttman ------ uri@xxxxxxxxxxxxxxx -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
.