The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME HTTP::Server::EV::MultipartFile - represents file received by HTTP::Server::EV

FILE PARAMETERS

$file->size or $file->{size} Filesize in bytes =item $file->name or $file->{name} Filename received in http request
$file->path or $file->{path} Path to tmp file. You don`t need to use this. Use $file->save instead

METHODS =head2 $file->fh; Return filehandle opened to reading. Die on error

$file->save($path); Save received file to $path. Just moves file from tmp dir to $path if possible. Dies on error

$file->del; Delete file from tmp directory. You don`t need to use this method, HTTP::Server::EV::CGI calls it on all request files on DESTROY

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 16:

'=item' outside of any '=over'

Around line 24:

You forgot a '=back' before '=head1'