Brandon S. Allbery KF8NH allbery-at-ece.cmu.edu |Perl 6| wrote:
my ($x, :$named) = foo; # or something like thatThat looks to me like a form of positional extraction. (Of course, my hit rate on p6 stuff has been remarkably low of late...)
It's not just positional, but allows for named arguments too. It is exactly like calling a function: named arguments match to parameters with those names, then any left over are positional.