Marcus Ramberg > Catalyst-Plugin-Upload-Basename > Catalyst::Plugin::Upload::Basename

Download:
Catalyst-Plugin-Upload-Basename-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Catalyst::Plugin::Upload::Basename - Basename for uploads

SYNOPSIS ^

    use Catalyst qw[Upload::Basename];

    if ( my $upload = $c->request->upload('field') ) {
        print $upload->basename;
    }

DESCRIPTION ^

Extends Catalyst::Request::Upload with a basename method.

METHODS ^

basename

Returns basename for filename.

SEE ALSO ^

Catalyst::Request, Catalyst::Request::Upload.

AUTHOR ^

Christian Hansen, ch@ngmedia.com

LICENSE ^

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

syntax highlighting: