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

NAME

Egg::Plugin::Upload::ModPerl - mod_perl support 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 a plug-in to be able to use Egg::Plugin::Upload in the mod_perl environment.

"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

Apache::Upload, Apache2::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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 34:

L<> starts or ends with whitespace