X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FRequest.pm;h=ce1a4284408cb6ebdcdf7fe8870027c68a06f20b;hp=7624db74afcb419278aa8e5d5487ee9e00550896;hb=84e7aa894ee4c95911a3c9d65fca859685ec794d;hpb=a7e05d9d37504788045c0ea35b64f3cfe1b056f8 diff --git a/lib/Catalyst/Request.pm b/lib/Catalyst/Request.pm index 7624db7..ce1a428 100644 --- a/lib/Catalyst/Request.pm +++ b/lib/Catalyst/Request.pm @@ -484,7 +484,8 @@ sub upload { =head2 $req->uploads Returns a reference to a hash containing uploads. Values can be either a -hashref or a arrayref containing L objects. +L object, or an arrayref of +L objects. my $upload = $c->request->uploads->{field}; my $upload = $c->request->uploads->{field}->[0];