summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald J. Kimball <rjk@linguist.dartmouth.edu>1999-02-20 12:32:11 -0500
committerJarkko Hietaniemi <jhi@iki.fi>1999-02-21 14:50:42 +0000
commitb0c3554761a35cad4e711a2994d39746b00a240e (patch)
treee791e7c1bf428c149bf4d546623cf4fbe685a073
parentd99ad34e868efb22d6a17d96d58fcee12530fb7f (diff)
downloadperl-b0c3554761a35cad4e711a2994d39746b00a240e.tar.gz
PATCH: perlref.pod - symbolic ref example
To: perl5-porters@perl.org (Perl 5 Porters) Message-Id: <199902202232.RAA62306@linguist.dartmouth.edu> p4raw-id: //depot/cfgperl@3003
-rw-r--r--pod/perlref.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlref.pod b/pod/perlref.pod
index df85013347..596ff72c1a 100644
--- a/pod/perlref.pod
+++ b/pod/perlref.pod
@@ -456,7 +456,7 @@ symbolic references. Lexical variables (declared with my()) aren't in
a symbol table, and thus are invisible to this mechanism. For example:
local $value = 10;
- $ref = \$value;
+ $ref = "value";
{
my $value = 20;
print $$ref;