New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] Incorrect variable name in perlintro #9289
Comments
From kraai@ftbfs.orgHowdy, perlintro contains the following example and paragraph:
Change 28554 renamed the variables from $a and $b to $x and $y, -- |
From kraai@ftbfs.org0001-Change-b-to-y.patchFrom f721bdb1cf3b02d9115c541c63d032a5bdddfe92 Mon Sep 17 00:00:00 2001
From: Matt Kraai <kraai@ftbfs.org>
Date: Sun, 13 Apr 2008 15:54:57 -0700
Subject: [PATCH] Change $b to $y.
---
pod/perlintro.pod | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pod/perlintro.pod b/pod/perlintro.pod
index 210890f..bcb35f0 100644
--- a/pod/perlintro.pod
+++ b/pod/perlintro.pod
@@ -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
--
1.5.5
|
From @rgsThanks, applied. |
From [Unknown Contact. See original ticket]Thanks, applied. |
@rgs - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#52860 (status was 'resolved')
Searchable as RT52860$
The text was updated successfully, but these errors were encountered: