Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

(tye)Re: I've never seen this syntax before

by tye (Cardinal)
on Apr 05, 2001 at 19:50 UTC ( #70140=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: I've never seen this syntax before
in thread I've never seen this syntax before

Actually it is more subtle than even that. You can't replace !1 with 0 nor with "".

0 is wrong because, in a string context, !1 is "" while 0 is "0".

"" is wrong because, when warnings are turned on, 0+"" generates q(Argument "" isn't numeric) while 0+!1 is silent.

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


Comment on (tye)Re: I've never seen this syntax before
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-11-23 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls