my %h = f(); say for keys %h; #### my $i; say for grep ++$i % 2, f();