in reply to Problematic UploadFile() method in CGI.pm
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