X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FRequest%2FUpload.pm;h=d8e58bea7e0f7834b39ad0b9048d648b482d1e52;hb=57746b806ef4de802abec0c4a38a9524eb359661;hp=4d3d099a511a2307536d19cb096f16e51436bfe9;hpb=89cb63ec32ead40a2ba223fce60016e3c19ce5ab;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Request/Upload.pm b/lib/Catalyst/Request/Upload.pm index 4d3d099..d8e58be 100644 --- a/lib/Catalyst/Request/Upload.pm +++ b/lib/Catalyst/Request/Upload.pm @@ -7,6 +7,7 @@ use Catalyst::Exception; use File::Copy (); use IO::File (); use File::Spec::Unix; +use namespace::clean -except => 'meta'; has filename => (is => 'rw'); has headers => (is => 'rw'); @@ -44,6 +45,8 @@ sub _build_basename { no Moose; +=for stopwords uploadtmp + =head1 NAME Catalyst::Request::Upload - handles file upload requests @@ -128,9 +131,9 @@ Returns the size of the uploaded file in bytes. Returns a scalar containing the contents of the temporary file. -Note that this method will cause the filehandle pointed to by -C<< $upload->fh >> to be seeked to the start of the file, -and the file handle to be put into binary mode. +Note that this will cause the filehandle pointed to by C<< $upload->fh >> to +be reset to the start of the file using seek and the file handle to be put +into binary mode. =cut