sub f {a => 1, b=>2} my %h = (c => 3); say keys %h, f(); #output: c
This is another example of confused or inattentive posting and editing on the part of glycine. Further on, in the "edit: my fault ..." (!) section, you will see
sub f {a => 1, b=>2} my %h = (c => 3); say keys %h, f(); #output ca1b2
Give a man a fish: <%-{-{-{-<
In reply to Re^11: Using 'keys' on a list (update x2)
by AnomalousMonk
in thread Using 'keys' on a list
by lammey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |