Re: RFC 212 (v1) Make length(@array) work
[email protected] (Tom Christiansen) Wed, 20 Sep 2000 07:03:33 -0600
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Message-ID | <7713.969455013@chthon> |
>What I said was: making length(@array) "work" would be catering to >novice people *coming from C*. We shouldn't. Not that much. In Perl, a >string is not an array. I'm pretty sure it's not just the people coming from C who expect this. This all points to the bug^H^H^Hdubious feature which is the sub($) context template as applied to named arrays and hashes. Requiring an explicit conversion would help a lot. Or so it seems. --tom