Plack::Request::Upload - handles file upload requests
# $req is Plack::Request my $upload = $req->uploads->{field}; $upload->size; $upload->path; $upload->content_type; $upload->basename;
Returns the size of Uploaded file.
Returns the path to the temporary file where uploaded file is saved.
Returns the content type of the uploaded file.
Returns the original filename in the client.
Returns basename for "filename".
Kazuhiro Osawa
Tatsuhiko Miyagawa
Plack::Request, Catalyst::Request::Upload
To install Plack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack
CPAN shell
perl -MCPAN -e shell install Plack
For more information on module installation, please visit the detailed CPAN module installation guide.