boboson has asked for the wisdom of the Perl Monks concerning the following question:
I get the following outputuse strict; use warnings; use CGI::UploadEasy; use Data::Dumper; my $ue = CGI::UploadEasy->new(-uploaddir => '/path/to/upload/directory +'); my $info = $ue->fileinfo; my $cgi = $ue->cgiobject; print $cgi->header('text/plain'); print Dumper $info;
$VAR1 = {
'1143232971-HIQ050430376_mindre_33.jpg' => {
'ctrlname' => 'imgfile',
'bytes' => '9233',
'mimetype' => 'image/pjpeg'
}
};
This is probably a basic question, but how do I get the filename '1143232971-HIQ050430376_mindre_33.jpg' of the uploaded file?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: get the filename from CGI::UploadEasy
by doc_faustroll (Scribe) on Apr 03, 2006 at 01:42 UTC | |
|
Re: get the filename from CGI::UploadEasy
by zer (Deacon) on Apr 03, 2006 at 07:10 UTC | |
by Anonymous Monk on Apr 04, 2006 at 00:23 UTC | |
|
Re: get the filename from CGI::UploadEasy
by boboson (Monk) on Apr 03, 2006 at 07:57 UTC |