NAME
Plack::Request::Upload - handles file upload requests
METHODS
- basename
-
Returns basename for "filename".
- link_to
-
Creates a hard link to the temporary file. Returns true for success, false for failure.
$upload->link_to('/path/to/target');
- slurp
-
Returns a scalar containing the contents of the temporary file.
- copy_to
-
Copies the temporary file using File::Copy. Returns true for success, false for failure.
$upload->copy_to('/path/to/targe')
AUTHORS
Kazuhiro Osawa and Plack authors.
THANKS TO
the authors of Catalyst::Request::Upload.