From: Moritz Lenz Date: Thu, 15 Sep 2011 12:26:52 +0000 (+0200) Subject: remove outdated information from perlport X-Git-Tag: v5.15.3~94 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/72a183aae404c8e7722e8cbf9a9f810eb91caa72 remove outdated information from perlport --- diff --git a/pod/perlport.pod b/pod/perlport.pod index 2c9a849..5f266f9 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -689,10 +689,6 @@ If your code is destined for systems with severely constrained (or missing!) virtual memory systems then you want to be I mindful of avoiding wasteful constructs such as: - # NOTE: this is no longer "bad" in perl5.005 - for (0..10000000) {} # bad - for (my $x = 0; $x <= 10000000; ++$x) {} # good - my @lines = <$very_large_file>; # bad while (<$fh>) {$file .= $_} # sometimes bad