in reply to Re: Problematic UploadFile() method in CGI.pm
in thread Problematic UploadFile() method in CGI.pm
I don't believe that's correct. See this small example:
No parens required to use the arrow notation with a subroutine return value.my $hash = { a => 'b' }; sub foo { print $_[0], "\n"; return $hash; } print foo('abcd')->{a};
In Section
Seekers of Perl Wisdom