in reply to Re^4: What is the correct definition of False and Null in Perl?
in thread What is the correct definition of False and Null in Perl?
I was talking about strings not literal numbers:
DB<105> p !! "0.0" 1 DB<106> p !! "0E0" 1 DB<107> p !! 0E0 DB<108> p !! 0.0 DB<109> p 1 + "0E0" 1 DB<110> p 1 + "0.0" 1
and by the way IMHO thats all hardly necessary.
Can't think of a use case which can't be solved by calling a function in list context.
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: What is the correct definition of False and Null in Perl?
by Marshall (Canon) on Oct 27, 2011 at 02:24 UTC |