Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Undefined subroutine CGI::upload

by matthewb (Deacon)
on Sep 30, 2003 at 16:54 UTC ( #295344=note: print w/ replies, xml ) Need Help??

in reply to Undefined subroutine CGI::upload

The eversion for CGI is 2.46...

From perldoc CGI:

To be safe, use the upload() function (new in version 2.47).  
When called with the name of an upload field, upload() 
returns a filehandle, or undef if the parameter is not a 
valid filehandle.
Also, you don't need to import :standard if you are using the OO interface.


Comment on Re: Undefined subroutine CGI::upload
Re: Re: Undefined subroutine CGI::upload
by jerrygarciuh (Curate) on Sep 30, 2003 at 16:58 UTC
    Well that solves that, eh?

    Apparently my reading of the revision history was less than thorough!

    Thank you very much for catching that matthewb!


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://295344]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2015-07-07 09:04 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (88 votes), past polls