On Sat, 16 Sep 2000 16:19:08 +0100, Hildo Biersma wrote: >> But using arrays in a scalar context usually isn't an error. > >So, we make the warnings smarter and make sure they can be turned off... And distinguish between simply an array in scalar context, and an array used as an argument for length()? In that case, we're back to square one. I wouldn't mind a option in the core (or in a standard module) for "extra picky warnings", though: much stricter than the current warnings in Perl5. -- Bart.
- RFC 238 (v1) length(@ary) deserves a warning Perl6 RFC Librarian
- Re: RFC 238 (v1) length(@ary) deserves a warning Michael G Schwern
- Re: RFC 238 (v1) length(@ary) deserves a warn... Nathan Wiger
- Re: RFC 238 (v1) length(@ary) deserves a warning Damian Conway
- Re: RFC 238 (v1) length(@ary) deserves a warn... Michael G Schwern
- Re: RFC 238 (v1) length(@ary) deserves a warn... Damian Conway
- Re: RFC 238 (v1) length(@ary) deserves a warning Hildo Biersma
- Re: RFC 238 (v1) length(@ary) deserves a warn... Bart Lateur
- Re: RFC 238 (v1) length(@ary) deserves a ... Hildo Biersma
- Re: RFC 238 (v1) length(@ary) deserve... Bart Lateur
- Re: RFC 238 (v1) length(@ary) deserves a warning Philip Newton
- Re: matters supersessionary (was: RFC 238 (v1... Tom Christiansen