I haven't got any ideas about exactly what is causing the problem, but I'll make a few suggestions, and there are a few things you can clean up.

#!/usr/bin/perl -w use strict; use CGI qw/:standard/; use CGI::Carp qw/fatalsToBrowser/;

You only need to do use CGI; once - decide which routine you want to load into your namespace - in this case standard.
RTFM perldoc CGI for all the different routines that are available if standard doesn't do it for you.

Be a little more consistent how you quote things - I've changed the code fragment above so that it's all quoted with slashes - it just makes it easier to read.

Note the removal of the space from use CGI::Carp qw/fatalsToBrowser/; - just a small thing.

As far as the problem itself goes - look at any lines that might have something to do with the problem.
What happens if you alter or remove the CGI::POST_MAX and CGI::DISABLE_UPLOADS lines?

Cheers

BazB.

Update: As suggested by chromatic, it seems that jerrygarciuh is using a rather old version of CGI.
The solution is left as an exercise for the reader.


In reply to Re: Undefined subroutine CGI::upload by BazB
in thread Undefined subroutine CGI::upload by jerrygarciuh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.