Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: When is newline not allowed as whitespace?

by theorbtwo (Prior)
on Dec 22, 2002 at 06:42 UTC ( [id://221723]=note: print w/replies, xml ) Need Help??


in reply to When is newline not allowed as whitespace?

Zaxo++. That said, when you specify things that should be illegal, like print(T @foo), perl often tries to DWIM in ways more hurestic then definitional -- by defintion, that should be print(T(@foo)), but since there isn't a sub T, it guesses that you might have meant an inderect object, most of the time. Perl's mostly only whitespace sensitive in rare cases, where there are more then one valid way to parse your code.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-03-29 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found