Philip Crow > Gantry-3.42 > Gantry::Samples::FileUpload

Download:
Gantry-3.42.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  10
Open  3
View/Report Bugs
Source  

NAME ^

Gantry::Samples::FileUpload - A controller in the Gantry::Samples application

SYNOPSIS ^

This package is meant to be used in a stand alone server/CGI script or the Perl block of an httpd.conf file.

Stand Alone Server or CGI script:

    use Gantry::Samples::FileUpload;

    my $cgi = Gantry::Engine::CGI->new( {
        config => {
            #...
        },
        locations => {
            '/someurl' => 'Gantry::Samples::FileUpload',
            #...
        },
    } );

httpd.conf:

    <Perl>
        # ...
        use Gantry::Samples::FileUpload;
    </Perl>

    <Location /someurl>
        SetHandler  perl-script
        PerlHandler Gantry::Samples::FileUpload
    </Location>

If all went well, one of these was correctly written during app generation.

DESCRIPTION ^

This module was originally generated by Bigtop. But feel free to edit it. You might even want to describe the table this module controls here.

METHODS ^

do_main
schema_base_class
get_orm_helper

DEPENDENCIES ^

    Gantry::Samples

AUTHOR ^

Timotheus Keefer, <tkeefer@apple.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2006 Timotheus Keefer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: