in reply to Re^10: Using 'keys' on a list (update x2)
in thread Using 'keys' on a list
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: <%-{-{-{-<
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^12: Using 'keys' on a list (update x2)
by LanX (Saint) on Jul 01, 2021 at 21:51 UTC |
In Section
Seekers of Perl Wisdom