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

(tye)Re2: Weird syntax question

by tye (Sage)
on Aug 23, 2001 at 02:42 UTC ( [id://107185]=note: print w/replies, xml ) Need Help??


in reply to Re: Weird syntax question
in thread Weird syntax question

Good point. Both operands to an "or" are expressions, not statements, so you can't parse "print 1 if $x or print 0" as "( print 1 if $x ) or print 0" since "print 1 if $x" is not a valid expression (since "if" is a statement modifier).

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-25 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found