> > This proposal makes length() an un-prototypable (and therefore
> > unoverridable). Do you have a proposal for how to handle that?
>
> Pray to Damian for a prototype that supports this? :-)
If you'd been studying the holy writings properly, young Torkington,
instead of those wicked magazines under your bed, you'd be familiar with
RFC 128, specifically:
http://tmtowtdi.perl.org/rfc/128.html#Context_classes
Should that epistle find favour in Larry's eyes, the specification
of the proposed modification to C<length> would be:
sub length ([\@$]) { ... }
;-)
Damian
- 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
- Re: RFC 212 (v1) Make length(@arr... Randal L. Schwartz
- Re: RFC 212 (v1) Make length(@array) work Dave Storrs
