Nathan Wiger writes: > Brainstorming off the top of my head: > > sub length (($|@)) { > > } > > That is, use a regex-like "(x|y)" - or maybe [$@%] ?? - for alternative > context coercions. The only RFC on prototype extensions we have is Andy Wardley's #57. I suggest you ask him to add this feature. Nat
- Re: RFC 212 (v1) Make length(@array) work Bart Lateur
- Re: RFC 212 (v1) Make length(@array) work Nathan Torkington
- Re: RFC 212 (v1) Make length(@array) work Dave Storrs
- Re: RFC 212 (v1) Make length(@array) work Casey R. Tweten
- Re: RFC 212 (v1) Make length(@array) work Randal L. Schwartz
- Re: RFC 212 (v1) Make length(@array) work Nathan Torkington
- Re: RFC 212 (v1) Make length(@array) work Nathan Torkington
- Re: RFC 212 (v1) Make length(@array) work Casey R. Tweten
- Re: RFC 212 (v1) Make length(@array) work Nathan Torkington
- Re: RFC 212 (v1) Make length(@array) w... Nathan Wiger
- Re: RFC 212 (v1) Make length(@arr... Nathan Torkington
- Re: RFC 212 (v1) Make length(... Tom Christiansen
- Re: RFC 212 (v1) Make length(@arr... Damian Conway
- Re: RFC 212 (v1) Make length(@array) w... Casey R. Tweten
- 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