I have no idea if it is under consideration. Probably not.
I suggested it on p5p once to decidedly mixed reviews.
I note that in many other languages similar algorithms are
naturally coded as chained method calls, and that winds up
reading left to right... | [reply] |
I advocated a list-dereference syntax to fairly positive
reviews in p5p, but I doubt anyone will find the tuits to
actually implement it. It would allow an entire list to be
passed to a method, like map, or to dereference
multi-dimensional slices of nested data structures:
@3dSlice= $ref->@==>{qw(a b c)}==>[1..5];
$obj->GetAttribs()==>Stringify()==>Dump();
The choice of token was not solidified. (Or was your
|> mentioned in that thread as well?)
-
tye
(but my friends call me "Tye") | [reply] [d/l] [select] |
perl v6.0?
yep! Guess they liked '==>'.
---
"A Jedi uses the Force for knowledge and defense, never for attack."
| [reply] |