in reply to Re: list returned from function
in thread list returned from function

Nothing wrong with the above. But I prefer:
my $foo = (MyFunc())->[4];
/prakash