The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Egg::Plugin::Upload - Plugin to support file upload.

DESCRIPTION

This is a base class for the file upload plugin.

However, it is good only to describe Upload in Egg. The subclass judges the environment and reads by the automatic operation.

UPLOAD METHODS

It is a method that can be used with the object received by $e->request->upload.

new

Constructor who returns up-loading object.

name

The parameter name is returned.

  • Alias: key

handle

The file steering wheel of the preservation file is temporarily returned.

  • Alias: fh

catfilename

Only the file name that doesn't contain PATH is returned.

copy_to ( [COPY_PATH] )

The preservation file is temporarily copied onto COPY_PATH.

The hard link of the preservation file is temporarily made.

SEE ALSO

Egg::Plugin::Upload::CGI, Egg::Plugin::Upload::ModPerl, Egg::Release,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT

Copyright (C) 2007 by Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.