in reply to Re^2: Ok, what am I doing wrong with my use of CGI::Upload?
in thread Ok, what am I doing wrong with my use of CGI::Upload?

CGI::Upload needs the query object, not the CGI::App object. Try my $upload = CGI::Upload->new( { query => $query } );.

Replies are listed 'Best First'.
Re^4: Ok, what am I doing wrong with my use of CGI::Upload?
by northwind (Hermit) on Feb 06, 2006 at 18:29 UTC

    Ok, trying that... nope, doesn't help.  CGI::Upload understands $upload = CGI::Upload->new({query => $query}) and gives the exact same Data::Dumper dump ( die Dumper(\%file, \@foo) ):

    Error executing run mode 'import_file': $VAR1 = { 'handle' => bless( \*IO::File::_GEN_0, 'IO::File' ), 'name' => 'user_editor_outline.txt', 'type' => 'txt', 'mime' => 'text/plain' }; $VAR2 = [];