Catalyst::Request::Upload - Catalyst Request Upload Class
$upload->copy_to $upload->fh $upload->filename; $upload->link_to; $upload->size; $upload->tempname; $upload->type;
See also Catalyst.
This is the Catalyst Request Upload class, which provides a set of accessors to the upload data.
Constructor. Normally only for engine use.
Copies tempname using File::Copy. Returns true for success, false otherwise.
File::Copy
$upload->copy_to('/path/to/target');
Opens tempname and returns a IO::File handle.
IO::File
Contains client supplied filename.
Creates a hard link to the tempname. Returns true for success, false otherwise.
$upload->link_to('/path/to/target');
Contains size of the file in bytes.
Contains path to the temporary spool file.
Contains client supplied Content-Type.
Sebastian Riedel, sri@cpan.org Christian Hansen, ch@ngmedia.com
sri@cpan.org
ch@ngmedia.com
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst
CPAN shell
perl -MCPAN -e shell install Catalyst
For more information on module installation, please visit the detailed CPAN module installation guide.