>
> All I'm doing is suggesting another way, one that makes more sense for
> beginners:
>
> $a = length @b;
>
> I think we're going to have to see prototypes extended to cope with
> functions like this, anyway. I'll mention this requirement in the
> next version of the RFC.
>
> Nat
Looks good to me, then we can talk about "the implicit length function
called when evaluating an array in a scalar context" and the whole
thing fits together that much more smoothly.
--
David Nicol 816.235.1187 [EMAIL PROTECTED]
perl -e'map{sleep print$w[rand@w]}@w=<>' ~/nsmail/Inbox
- Re: RFC 212 (v1) Make length(@arr... Nathan Torkington
- Re: RFC 212 (v1) Make length(... Casey R. Tweten
- Re: RFC 212 (v1) Make length(... Randal L. Schwartz
- Uninitialized value warnings ... Nathan Wiger
- Re: Uninitialized value warni... Nathan Torkington
- Re: Uninitialized value warni... Nathan Wiger
- Re: Uninitialized value warni... Michael Fowler
- Re: Uninitialized value warni... Tom Christiansen
- Re: Uninitialized value warni... Tom Christiansen
- Re: Uninitialized value warni... Bart Lateur
- Re: RFC 212 (v1) Make length(@array) w... David L. Nicol
- Re: RFC 212 (v1) Make length(@array) work Johan Vromans
- Re: RFC 212 (v1) Make length(@array) work Graham Barr
- Re: RFC 212 (v1) Make length(@array) work Damian Conway
- Re: RFC 212 (v1) Make length(@array) work Nathan Torkington
- Re: RFC 212 (v1) Make length(@array) work Damian Conway
- Re: RFC 212 (v1) Make length(@array) work Bart Lateur
- Re: RFC 212 (v1) Make length(@array) work Dave Storrs
- Re: RFC 212 (v1) Make length(@array) work Bart Lateur
- Re: RFC 212 (v1) Make length(@array) work Tom Christiansen
- Re: RFC 212 (v1) Make length(@array) w... Bart Lateur
