Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Perl allows you to change the definition of false to make it true. (And vice versa.) (boolean.pm)

by tye (Sage)
on Dec 12, 2012 at 22:39 UTC ( #1008602=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl allows you to change the definition of false to make it true. (And vice versa.)
in thread Perl allows you to change the definition of false to make it true. (And vice versa.)

do &maybe if boolean($value)->isTrue;

Surely he meant:

do &maybe if boolean( true eq boolean($value)->isTrue() )->isTrue();

(:

- tye        

  • Comment on Re^3: Perl allows you to change the definition of false to make it true. (And vice versa.) (boolean.pm)
  • Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2016-06-25 03:37 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.