|Subject:||upload() requires cgi object reference|
|Date:||Mon, 02 Dec 2013 19:58:46 -0600|
|To:||bug-CGI [...] rt.cpan.org|
|From:||Bozonius <halgol60 [...] gmail.com>|
The upload() function does not seem to work if called in the "poetry" mode. It seems you have to qualify it with a CGI object, thus: my $cgi = new CGI; my $fileinfo = $cgi->upload('fieldname'); Otherwise, no object is returned. Here is a discussion where others have discovered this problem also:I'm using CGI 3.63, and this seems to happen on a few different Linux platforms, including mageia 3 and debian. Please feel free to email me at firstname.lastname@example.org if you need more info.