logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Plack::Request::Upload - handles file upload requests

Authors

       Kazuhiro Osawa

       Tatsuhiko Miyagawa

Methods

       size
           Returns the size of Uploaded file.

       path
           Returns the path to the temporary file where uploaded file is saved.

       content_type
           Returns the content type of the uploaded file.

       filename
           Returns the original filename in the client.

       basename
           Returns basename for "filename".

Name

       Plack::Request::Upload - handles file upload requests

See Also

       Plack::Request, Catalyst::Request::Upload

perl v5.38.2                                       2024-01-20                        Plack::Request::Upload(3pm)

Synopsis

         # $req is Plack::Request
         my $upload = $req->uploads->{field};

         $upload->size;
         $upload->path;
         $upload->content_type;
         $upload->basename;

See Also