- or download this
sub func { return ('a' => 'ah', 'b' => 'be') };
- or download this
keys func();
keys ( func() );
keys ( &func() );
- or download this
Type of arg 1 to keys must be hash (not subroutine entry)
- or download this
my %hash = func();
keys %hash;