Also, when the Perl RFC 0001 comes into a stable release, you can write
for my ($key, $value) (f()) { say $key; }
I guess that this will come in 5.36 as experimental feature and hopefully will leave the experimental stage with 5.38.
In reply to Re^2: Using 'keys' on a list
by Corion
in thread Using 'keys' on a list
by lammey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |