1Plack::Request::Upload(U3s)er Contributed Perl DocumentatPiloanck::Request::Upload(3)
2
3
4

NAME

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

SYNOPSIS

9         # $req is Plack::Request
10         my $upload = $req->uploads->{field};
11
12         $upload->size;
13         $upload->path;
14         $upload->content_type;
15         $upload->basename;
16

METHODS

18       size
19           Returns the size of Uploaded file.
20
21       path
22           Returns the path to the temporary file where uploaded file is
23           saved.
24
25       content_type
26           Returns the content type of the uploaded file.
27
28       filename
29           Returns the original filename in the client.
30
31       basename
32           Returns basename for "filename".
33

AUTHORS

35       Kazuhiro Osawa
36
37       Tatsuhiko Miyagawa
38

SEE ALSO

40       Plack::Request, Catalyst::Request::Upload
41
42
43
44perl v5.36.0                      2023-01-20         Plack::Request::Upload(3)
Impressum