From 72a183aae404c8e7722e8cbf9a9f810eb91caa72 Mon Sep 17 00:00:00 2001 From: Moritz Lenz Date: Thu, 15 Sep 2011 14:26:52 +0200 Subject: [PATCH] remove outdated information from perlport --- pod/perlport.pod | 4 ---- 1 file changed, 4 deletions(-) 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 -- 1.8.3.1