diff options
Diffstat (limited to 'pod/perlfaq7.pod')
-rw-r--r-- | pod/perlfaq7.pod | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pod/perlfaq7.pod b/pod/perlfaq7.pod index 0d055f57f2..503f69d2c9 100644 --- a/pod/perlfaq7.pod +++ b/pod/perlfaq7.pod @@ -1,6 +1,6 @@ =head1 NAME -perlfaq7 - General Perl Language Issues ($Revision: 7998 $) +perlfaq7 - General Perl Language Issues ($Revision: 8539 $) =head1 DESCRIPTION @@ -468,11 +468,11 @@ C<counter>. sub counter { $count++ } } - my $start = count(); + my $start = counter(); - .... # code that calls count(); + .... # code that calls counter(); - my $end = count(); + my $end = counter(); In the previous example, you created a function-private variable because only one function remembered its reference. You could define @@ -978,15 +978,15 @@ where you expect it so you need to adjust your shebang line. =head1 REVISION -Revision: $Revision: 7998 $ +Revision: $Revision: 8539 $ -Date: $Date: 2006-11-01 09:56:34 +0100 (mer, 01 nov 2006) $ +Date: $Date: 2007-01-11 00:07:14 +0100 (jeu, 11 jan 2007) $ See L<perlfaq> for source control details and availability. =head1 AUTHOR AND COPYRIGHT -Copyright (c) 1997-2006 Tom Christiansen, Nathan Torkington, and +Copyright (c) 1997-2007 Tom Christiansen, Nathan Torkington, and other authors as noted. All rights reserved. This documentation is free; you can redistribute it and/or modify it |