Just another Perl shrine | |
PerlMonks |
Re: Problematic UploadFile() method in CGI.pmby ioannis (Abbot) |
on May 20, 2006 at 20:08 UTC ( [id://550728]=note: print w/replies, xml ) | Need Help?? |
You need add a parenthesis to capture the hash reference, otherwise
you will keep getting undef:
print h2('File MIME type'), (uploadInfo($file))->{'Content-Type'};
In Section
Seekers of Perl Wisdom
|
|