summaryrefslogtreecommitdiff
path: root/pod/perltrap.pod
diff options
context:
space:
mode:
authorCasey West <casey@geeknest.com>2003-05-09 07:17:53 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-05-09 18:45:39 +0000
commit1fa58becc2b101b3968cca02b977c50896c15fc5 (patch)
tree71f96970fa6385bdaa070b3f21883ae040c0085e /pod/perltrap.pod
parent022e13ec9186bf46a190de73507e69aa599cae6f (diff)
downloadperl-1fa58becc2b101b3968cca02b977c50896c15fc5.tar.gz
[perl #8703] unescaped @ is fine
Message-ID: <20030509151753.GO49820@geeknest.com> p4raw-id: //depot/perl@19461
Diffstat (limited to 'pod/perltrap.pod')
-rw-r--r--pod/perltrap.pod7
1 files changed, 3 insertions, 4 deletions
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index 06ddb19bfc..d06f84ff80 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -1344,13 +1344,12 @@ within certain expressions, statements, contexts, or whatever.
=item * Interpolation
-Double-quoted strings may no longer end with an unescaped $ or @.
+Double-quoted strings may no longer end with an unescaped $.
$foo = "foo$";
- $bar = "bar@";
- print "foo is $foo, bar is $bar\n";
+ print "foo is $foo\n";
- # perl4 prints: foo is foo$, bar is bar@
+ # perl4 prints: foo is foo$
# perl5 errors: Final $ should be \$ or $name
Note: perl5 DOES NOT error on the terminating @ in $bar