summaryrefslogtreecommitdiff
path: root/pod/perlport.pod
diff options
context:
space:
mode:
authorMoritz Lenz <moritz@faui2k3.org>2011-09-15 14:26:52 +0200
committerRicardo Signes <rjbs@cpan.org>2011-09-15 08:44:27 -0400
commit72a183aae404c8e7722e8cbf9a9f810eb91caa72 (patch)
tree9726aabb86d3bb990ba0065a2946def56d332fdc /pod/perlport.pod
parent75006f0f4402bbabe02553499aa6e8b7687138fc (diff)
downloadperl-72a183aae404c8e7722e8cbf9a9f810eb91caa72.tar.gz
remove outdated information from perlport
Diffstat (limited to 'pod/perlport.pod')
-rw-r--r--pod/perlport.pod4
1 files changed, 0 insertions, 4 deletions
diff --git a/pod/perlport.pod b/pod/perlport.pod
index 2c9a849363..5f266f9537 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<especially> 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