http://www.perlmonks.org?node_id=295344


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.

MB