• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Any idea what uploadInfo does in Perl?

Could anyone please tell me what the following line in Perl/CGI does?

$FileNameMime = uploadInfo($FileName)->{'Content-Type'}?

Thanks
0
vgirijanaidu
Asked:
vgirijanaidu
1 Solution
 
Hedley PhillipsCommented:
Hi,

that line calls the uploadInfo method and will provide header information from the file $Filename and put it into the variable $FileNameMime.

I take it you are writing a script to upload files through a browser using CGI.pm.

regards,


/Mad
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now