in reply to Re^4: Better expression for $x = !!$y||0
in thread Better expression for $x = !!$y||0
in Perl 6That's exactly how I feel WRT doing this in perl5....
Yes, you can still overload these to return something other than 0 or 1, but it would be construed as antisocial.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Better expression for $x = !!$y||0
by TimToady (Parson) on Apr 20, 2005 at 20:00 UTC | |
by ysth (Canon) on Apr 21, 2005 at 19:13 UTC |