Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Problematic UploadFile() method in CGI.pm

by Errto (Vicar)
on May 21, 2006 at 17:02 UTC ( #550808=note: print w/replies, xml ) Need Help??


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:
my $hash = { a => 'b' }; sub foo { print $_[0], "\n"; return $hash; } print foo('abcd')->{a};
No parens required to use the arrow notation with a subroutine return value.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://550808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2022-12-06 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?