This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #52860] [PATCH] Incorrect variable name in perlintro
authorMatt Kraai <kraai@ftbfs.org>
Sun, 13 Apr 2008 15:56:37 +0000 (08:56 -0700)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 18 Apr 2008 12:51:41 +0000 (12:51 +0000)
From: Matt Kraai (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-25460-1208127396-514.52860-75-0@perl.org>

p4raw-id: //depot/perl@33713

pod/perlintro.pod

index b069c51..9973fd6 100644 (file)
@@ -302,7 +302,7 @@ are defined.
 Using C<my> in combination with a C<use strict;> at the top of
 your Perl scripts means that the interpreter will pick up certain common
 programming errors.  For instance, in the example above, the final
-C<print $b> would cause a compile-time error and prevent you from
+C<print $y> would cause a compile-time error and prevent you from
 running the program.  Using C<strict> is highly recommended.
 
 =head2 Conditional and looping constructs