Linux SoftwareProgrammingLibrariesClass::CGI 0.20

Class::CGI 0.20


Class::CGI is a Perl module to fetch objects from your CGI object. SYNOPSIS use Class::CGI handlers => {
Developer:   Curtis Poe
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   17K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Class::CGI is a Perl module to fetch objects from your CGI object.

SYNOPSIS

use Class::CGI
handlers => {
customer_id => 'My::Customer::Handler'
};

my $cgi = Class::CGI->new;
my $customer = $cgi->param('customer_id');
my $name = $customer->name;
my $email = $cgi->param('email'); # behaves like normal

if ( my %errors = $cgi->errors ) {
# do error handling
}

For small CGI scripts, it's common to get a parameter, untaint it, pass it to an object constructor and get the object back. This module would allow one to to build Class::CGI handler classes which take the parameter value, automatically perform those steps and just return the object. Much grunt work goes away and you can get back to merely pretending to work.

Requirements:
  • Perl
    tags class cgi  the object  cgi param  

    Download Class::CGI 0.20


     http://ftp.hostingromania.ro/Linux/mirrors/ftp.cpan.org/authors/id/O/OV/OVID/Class-CGI-0.20.tar.gz


    Authors software

    AI::NeuralNet::Simple 0.10 (by Curtis Poe)
    AI::NeuralNet::Simple is a simple learning module for building neural nets.

    SYNOPSIS

    use AI::NeuralNet::Simple;
    my $net =

    Class::Meta::Declare 0.04 (by Curtis Poe)
    Class::Meta::Declare is a Perl module deprecated in favor of Class::Meta::Express.

    SYNOPSIS

    This was a first attempt at making

    Class::CGI 0.20 (by Curtis Poe)
    Class::CGI is a Perl module to fetch objects from your CGI object.

    SYNOPSIS

    use Class::CGI
    handlers => {


    Similar software

    Class::CGI 0.20 (by Curtis Poe)
    Class::CGI is a Perl module to fetch objects from your CGI object.

    SYNOPSIS

    use Class::CGI
    handlers => {

    XML::XMetaL 0.52 (by Henrik Martensson)
    XML::XMetaL is a Perl module with dispatch class for XML::XMetaL development framework.

    The XML::XMetaL class is a dispatcher for XM

    Object::Declare 0.13 (by Audrey Tang)
    Object::Declare is a Perl module for declarative object constructor.

    SYNOPSIS

    use Object::Declare ['MyApp::Column', 'MyApp:

    Class::Tangram 1.57 (by Sam Vilain)
    Class::Tangram is a Perl module for tangram-friendly classes, DWIM attributes.

    SYNOPSIS

    package MyObject;

    use base qw(Clas

    Gtk2::GladeXML::Simple 0.32 (by Marco Antonio Manzo)
    Gtk2::GladeXML::Simple is a clean object-oriented interface to Gtk2::GladeXML.

    SYNOPSIS

    package MyApp;
    use base qw( Gtk2

    JSignal 0.2 (by Jason Barto)
    JSignal is a loose port of the signal system implemented by GTK's GLib

    Class::Std::Utils 0.0.2 (by Damian Conway)
    Class::Std::Utils is a Perl module for utility subroutines for building "inside-out" objects.

    SYNOPSIS

    use Class::Std::Util

    Class::Container 0.12 (by Ken Williams)
    Class::Container is a Perl module with Glues object frameworks together transparently.

    SYNOPSIS

    package Car;
    use Class::Cont

    Class::InsideOut 1.02 (by David A. Golden)
    Class::InsideOut is a Perl module with a safe, simple inside-out object construction kit.

    SYNOPSIS

    package My::Class;

    u

    Konstrukt::Handler 0.5 Beta 6 (by Thomas Wittek)
    Konstrukt::Handler is a base class for handlers that control the processing of the requests.

    SYNOPSIS

    use Konstrukt::Ha


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags