--- Luke Palmer wrote:
> Andrew Savige writes:
> > I stumbled across a couple of interesting quote interpolation
> > edge cases:

Just toppled over the edge of another two sand traps.

Case 3
------

# cat q7.p6
my $x = '\\x';
print "x='$x'\n";

# perl -w q7.p6
x='\x'

# pugs q7.p6
x='\\x'

Case 4
------

# cat q8.p6
my $x = '\\';
print "x='$x'\n";

# perl -w q8.p6
x='\'

# pugs q8.p6

unexpected "'"
expecting word character, "::", term postfix, operator, postfix conditional,
postfix loop, postfix i
teration, ";" or end of input
NonTerm SourcePos "q8.p6" 2 13

/-\


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

Reply via email to