minor typos in new Mason.pm
Jesse Sheidlower [Wed, 27 Apr 2005 19:42:39 +0000 (19:42 +0000)]
lib/Catalyst/Engine.pm
lib/Catalyst/Request/Upload.pm

index d6673a2..de0bbc3 100644 (file)
@@ -193,10 +193,6 @@ sub finalize {
     return $status;
 }
 
-=item $c->finalize_output
-
-alias to finalize_body
-
 =item $c->finalize_body
 
 Finalize body.
index a31df3d..43a7cff 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
 
@@ -35,14 +36,6 @@ to the upload data.
 
 =over 4
 
-=item $upload->new
-
-Constructor. Normally only for engine use.
-
-=cut 
-
-sub new { shift->SUPER::new( ref( $_[0] ) ? $_[0] : {@_} ) }
-
 =item $upload->copy_to
 
 Copies tempname using C<File::Copy>. Returns true for success, false otherwise.