improved documentation
Sebastian Riedel [Thu, 3 Mar 2005 10:31:57 +0000 (10:31 +0000)]
Changes
lib/Catalyst.pm
lib/Catalyst/Request.pm

diff --git a/Changes b/Changes
index 7f81187..eb420c2 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 This file documents the revision history for Perl extension Catalyst.
 
+4.13  Thu Mar 03 11:00:00 2005
+        - improved documentation
+
 4.12  Wed Mar 02 11:00:00 2005
         - server_base sucks, removed
         - added $c->log->dump()
index 6f0311f..bc1d5b6 100644 (file)
@@ -7,7 +7,7 @@ use Catalyst::Log;
 
 __PACKAGE__->mk_classdata($_) for qw/_config log/;
 
-our $VERSION = '4.12';
+our $VERSION = '4.13';
 our @ISA;
 
 =head1 NAME
index b63e48d..f6ad5a6 100644 (file)
@@ -88,9 +88,9 @@ Returns an arrayref containing regex snippets.
 Returns a hashref containing the uploads.
 
     my $filename = $c->req->parameters->{foo};
-    print $c->request->uploads->{$filename}->type;
-    print $c->request->uploads->{$filename}->size;
-    my $fh = $c->request->uploads->{$filename}->fh;
+    print $c->request->uploads->{$filename}->{type};
+    print $c->request->uploads->{$filename}->{size};
+    my $fh = $c->request->uploads->{$filename}->{fh};
     my $content = do { local $/; <$fh> };
 
 =head1 AUTHOR