Tatsuhiko Miyagawa > Plack-Request > Plack::Request::Upload

Download:
Plack-Request-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

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.

SEE ALSO ^

Plack, Catalyst::Request::Upload

syntax highlighting: