I got somewhere with keys %{{func()}}
func() returns a list\
{func()} constructs an anonymous hash from that list
%{} around that tries to dereference what is inside it as a hash reference (ending up with the hash keys wants)
keys # take keys of following HASH %{ # dereference HASHREF { # construct HASHREF from list func() # returns list } }
yours,
Michael
In reply to Re: Apply function "keys" directly to function returning hash
by herveus
in thread Apply function "keys" directly to function returning hash
by wirrwarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |