Re: RFC 238 (v1) length(@ary) deserves a warning
[email protected] (Hildo Biersma) Sat, 16 Sep 2000 16:19:08 +0100
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Organization | Morgan Stanley Dean Witter & Co. |
| Message-ID | <[email protected]> |
Bart Lateur wrote: > > On Sat, 16 Sep 2000 10:26:48 +0100, Hildo Biersma wrote: > > >> length(@ary) deserves a warning > > > >Right now, the Lint back-end gives a warning in these cases (use of > >array in scalar context). > > > >Can we make the RFC more generic, and propose to move the Lint warnings > >into the core? > > 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...