- Added multi-action-from-begin example to cookbook
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Request / Upload.pm
index a31df3d..783733b 100644 (file)
@@ -8,6 +8,7 @@ use IO::File   ();
 
 __PACKAGE__->mk_accessors(qw/filename size tempname type/);
 
+sub new { shift->SUPER::new( ref( $_[0] ) ? $_[0] : {@_} ) }
 
 =head1 NAME
 
@@ -37,11 +38,7 @@ to the upload data.
 
 =item $upload->new
 
-Constructor. Normally only for engine use.
-
-=cut 
-
-sub new { shift->SUPER::new( ref( $_[0] ) ? $_[0] : {@_} ) }
+simple constructor.
 
 =item $upload->copy_to