Any idea what uploadInfo does in Perl?

Posted on 2006-03-30
Last Modified: 2009-12-16
Could anyone please tell me what the following line in Perl/CGI does?

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

Question by:vgirijanaidu
    1 Comment
    LVL 14

    Accepted Solution


    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



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Read about why website design really matters in today's demanding market.
    I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
    Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now