Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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


Comment on Re^2: Dualvars besides $!
Download Code

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 browsing the Monastery: (8)
As of 2015-01-30 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (247 votes), past polls