Kazuhiro Osawa > HTTP-Engine-0.03003 > HTTP::Engine::Request::Upload

Download:
HTTP-Engine-0.03003.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: HTTP-Engine-0.03005

NAME ^

HTTP::Engine::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 HTTP::Engine authors.

THANKS TO ^

the authors of Catalyst::Request::Upload.

SEE ALSO ^

HTTP::Engine, Catalyst::Request::Upload

syntax highlighting: