Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Dualvars besides $!

by davido (Archbishop)
on Jan 27, 2014 at 18:05 UTC ( #1072259=note: print w/replies, xml ) Need Help??


in reply to Re: Dualvars besides $!
in thread Dualvars besides $!

A value for "true" is also dualvar:

perl -MScalar::Util -E 'say Scalar::Util::isdual(!0)'

...outputs '1', indicating the test was true.


Dave

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2016-09-25 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (470 votes). Check out past polls.