Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Surprising whitespace behavior (significant whitespace++)

by tye (Sage)
on Sep 23, 2004 at 19:53 UTC ( [id://393303]=note: print w/replies, xml ) Need Help??


in reply to Re: Surprising whitespace behavior
in thread Surprising whitespace behavior

I think "$ x" should be "\$ x". I have no problem with double-quote interpolation being more strict than the equivalent Perl code (it already is and this one more case would be an improvement).

I think it is just a matter of the original implementor(s) (way back in Perl2) deciding to support ignoring such whitespace (to match how Perl works outside of double quotes) and the more recent implementor(s) (p5p) not even thinking of supporting such a strange construct (and so not worrying about making them consistent).

- tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://393303]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-18 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found