"David L. Nicol" wrote: > > Bart Lateur wrote: > > > Bitwise and, or and xor do distinguish strings from numbers, and return > > entirely different kinds of results. Why can't anything else? > > Absolutely. There is such a thing as Too Much Convenience. I think > BOOL as a context or an accessor method should be separate from STRING and > NUMBER so that if you know, you can suggest which behavior you want out > of a particular scalar variable, or stick with the misguidable default. See RFC 159 - BOOLEAN, STRING, and NUMBER are the three main methods. -Nate
- PERL6STORM - tchrist's brainstorm list for perl6 Tom Christiansen
- Re: PERL6STORM - tchrist's brainstorm list for perl6 Tom Christiansen
- "0", true or false? (was: PERL6STORM #0052... Bart Lateur
- Re: "0", true or false? (was: PERL6STO... David L. Nicol
- auto-flock on file open (was: PERL6STORM - #... Nathan Wiger
- auto-flock on file open (was: PERL6STORM - #0031) Bart Lateur
- perl6storm #0010: kill all defaults Philip Newton
- perl6storm #0011: interactive perl mode Philip Newton
- Re: perl6storm #0011: interactive perl mode Russ Allbery
- Re: PERL6STORM - tchrist's brainstorm list for perl6 Philip Newton
- perl6storm #0050 Philip Newton
- Re: perl6storm #0050 raptor
- Re: perl6storm #0050 Dave Storrs
- Re: perl6storm #0050 Johan Vromans