in reply to Re^2: Large file problem
in thread Large file problem

when's Perl going to have DWIM?

Lists will be evaluated lazily in Perl 6, which means Perl 6 will DWYM in this circumstance (I think!)

Replies are listed 'Best First'.
Re^4: Large file problem
by Anonymous Monk on Dec 02, 2004 at 10:47 UTC
    I heard perl 5.10 will also have this long overdue optimization. foreach (1..1000000) was optimized in perl5005.