From 1fa58becc2b101b3968cca02b977c50896c15fc5 Mon Sep 17 00:00:00 2001 From: Casey West Date: Fri, 9 May 2003 07:17:53 -0400 Subject: [PATCH] [perl #8703] unescaped @ is fine Message-ID: <20030509151753.GO49820@geeknest.com> p4raw-id: //depot/perl@19461 --- pod/perltrap.pod | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pod/perltrap.pod b/pod/perltrap.pod index 06ddb19..d06f84f 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 -- 2.7.4