Gantry::Samples::FileUpload - A controller in the Gantry::Samples application
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.
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.
Gantry::Samples
Timotheus Keefer, <tkeefer@apple.com>
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.
To install Gantry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gantry
CPAN shell
perl -MCPAN -e shell install Gantry
For more information on module installation, please visit the detailed CPAN module installation guide.