Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2014-09-22 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (206 votes), past polls