Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 about the Monastery: (5)
As of 2016-06-25 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.