• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • 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'}?

1 Solution
Hedley PhillipsOwnerCommented:

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.


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

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