zdzieblo has asked for the wisdom of the Perl Monks concerning the following question:
since i switched to libapreq2 i keep getting the folowing error:foreach my $upload ($r->upload()) { my $upload_fh = $upload->fh; my $contents; while(<$upload_fh>) { $contents .= $_; } close($upload_fh); # write $contents to the file here... }
does any one know what's happening? not much info available out there.. thanksCan't locate object method "fh" via package "form_field_name (perhaps +you forgot to load "form_field_name"?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: libapreq2 upload problem
by shmem (Chancellor) on May 19, 2008 at 22:15 UTC | |
|
Re: libapreq2 upload problem
by TOD (Friar) on May 20, 2008 at 03:52 UTC |