NAME

Egg::Plugin::Upload::CGI - Standard driver of Egg plugin Upload.

SYNOPSIS

  use Egg qw/ Upload /;

  if (my $upload= $e->request->upload('upload_param')) {
    
    # upload filename.
    print " File Name: ". $upload->catfilename;
  
    # upload file size.
    print " File Size: ". $upload->size;
    
    # The upload file is read.
    my $up_value= join '', $upload->handle->getlines;
    
  }

DESCRIPTION

It is driver for "Egg::Plugin::Upload " standard.

"Egg::Plugin::Upload " judges the environment and this plugin is read by the automatic operation.

It is not necessary to load it specifying it.

UPLOAD HANDLER METHODS

The method of E::P::Upload is supplemented as follows.

Please refer to the document of Egg::Plugin::Upload::handler.

filename

The upload file name is returned.

tempname

PATH of the place where the up-loading file has been temporarily preserved is returned.

size

The size of the upload file is returned.

type

The contents type of the upload file is returned.

info

Failinfo of the upload file is returned.

SEE ALSO

CGI::Upload, Egg::Plugin::Upload, 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.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 31:

L<> starts or ends with whitespace

Around line 33:

L<> starts or ends with whitespace