summaryrefslogtreecommitdiff
path: root/pod/perlfaq7.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-07-29 21:20:28 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-07-29 21:20:28 +0000
commit369b44b45b100ebccc1e9e9ec79851683e716faa (patch)
tree0f7915cf614f2c1baa53a36d7f0671f1cece49e0 /pod/perlfaq7.pod
parent2e332e71a8ad1fdc9da83d7af3110f2cf49b4127 (diff)
downloadperl-369b44b45b100ebccc1e9e9ec79851683e716faa.tar.gz
FAQ sync.
p4raw-id: //depot/perl@20330
Diffstat (limited to 'pod/perlfaq7.pod')
-rw-r--r--pod/perlfaq7.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfaq7.pod b/pod/perlfaq7.pod
index 814a40314c..a735edc7c8 100644
--- a/pod/perlfaq7.pod
+++ b/pod/perlfaq7.pod
@@ -1,6 +1,6 @@
=head1 NAME
-perlfaq7 - General Perl Language Issues ($Revision: 1.14 $, $Date: 2003/01/31 17:38:14 $)
+perlfaq7 - General Perl Language Issues ($Revision: 1.15 $, $Date: 2003/07/24 02:17:21 $)
=head1 DESCRIPTION
@@ -808,7 +808,7 @@ symbolic references, you are just using the package's symbol-table hash
(like C<%main::>) instead of a user-defined hash. The solution is to
use your own hash or a real reference instead.
- $fred = 23;
+ $USER_VARS{"fred"} = 23;
$varname = "fred";
$USER_VARS{$varname}++; # not $$varname++