Consider @x[10:20, 20:40:2, 30:50] This ALMOST works in the current Perl. @x gives array context, then the , produces a list. If [] is overloaded on @a then the subroutine sees a list like "10:20", "20:40:2", "30:50" The only reason it does NOT work in the current perl is that "10:20" is a syntax error. What would be required to make this go away? i.e. to have 10:20 appear as a plain strring. What else would it effect? Sounds like almost a solution... Karl
- RFC 148 (v1) Add reshape() for multi-dimensional array... Perl6 RFC Librarian
- Re: RFC 148 (v1) Add reshape() for multi-dimensio... Karl Glazebrook
- Re: RFC 148 (v1) Add reshape() for multi-dime... Nathan Wiger
- Re: RFC 148 (v1) Add reshape() for multi-... Karl Glazebrook
- Re: RFC 148 (v1) Add reshape() for mu... Nathan Wiger
- Re: RFC 148 (v1) Add reshape() f... Ariel Scolnicov
- Re: RFC 148 (v1) Add reshape() f... Daniel Chetlin
- Re: RFC 148 (v1) Add reshape... Karl Glazebrook
- Re: RFC 148 (v1) Add res... Christian Soeller
- Re: RFC 148 (v1) Add res... Karl Glazebrook
- Re: RFC 148 (v1) Add reshape() for multi-dimensio... David L. Nicol
- Re: RFC 148 (v1) Add reshape() for multi-dime... c . soeller
- Re: RFC 148 (v1) Add reshape() for multi-dime... Nathan Torkington