From: Marcus Ramberg Date: Mon, 18 Apr 2005 18:28:45 +0000 (+0000) Subject: updated: Added docs for 2 missing functions X-Git-Tag: 5.7099_04~1481 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=c539a1c32cc974e531bea851e9f393800ed7a1c0 updated: Added docs for 2 missing functions --- diff --git a/META.yml b/META.yml index c61b3e9..5b1e4cb 100644 --- a/META.yml +++ b/META.yml @@ -1,7 +1,7 @@ # http://module-build.sourceforge.net/META-spec.html #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# name: Catalyst -version: 4.26 +version: 5.01 version_from: lib/Catalyst.pm installdirs: site requires: @@ -9,9 +9,18 @@ requires: Class::Accessor::Fast: 0 Class::Data::Inheritable: 0 HTML::Entities: 0 + HTTP::Daemon: 0 HTTP::Headers: 0 + HTTP::Request: 0 + HTTP::Response: 0 + LWP::UserAgent: 0 Module::Pluggable::Fast: 0 + Template: 0 + Text::ASCIITable: 0 + Tree::Simple: 0 + Tree::Simple::Visitor::FindByPath: 0 UNIVERSAL::require: 0 + URI: 0 distribution_type: module generated_by: ExtUtils::MakeMaker version 6.17 diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index dfab421..e25b205 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -193,6 +193,10 @@ sub finalize { return $status; } +=item $c->finalize_output + +alias to finalize_body + =item $c->finalize_body Finalize body. diff --git a/lib/Catalyst/Request/Upload.pm b/lib/Catalyst/Request/Upload.pm index 5df78ee..5891332 100644 --- a/lib/Catalyst/Request/Upload.pm +++ b/lib/Catalyst/Request/Upload.pm @@ -8,7 +8,6 @@ use IO::File (); __PACKAGE__->mk_accessors(qw/filename size tempname type/); -sub new { shift->SUPER::new( ref( $_[0] ) ? $_[0] : {@_} ) } =head1 NAME @@ -35,6 +34,14 @@ 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. Returns true for success, false otherwise.