On Mon, Feb 26, 2007 at 17:47:23 +0100, demerphq wrote: > On 2/26/07, Joshua ben Jore <[EMAIL PROTECTED]> wrote: > >I'm of the opinion that it is clear and blatantly an error to ever use > >ref as a boolean. > > One liners and minor snippets where you control the input data would > be an exception IMO.
Are you guys serious? When has this ever been an issue in practice? The only time it has been an issue the intended behavior was in fact that the object really not be treated as an object (Scalar::Defer). Someone trying to bless into these classes is obviously doing it for that intended behavior. What is the alternative? How much "broken" perl code do you intend to fix? -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418
pgpxh861JJQV8.pgp
Description: PGP signature