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? In reply to get the filename from CGI::UploadEasy by boboson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |