Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Class::CGI 0.20

    Download button

    No screenshots available
    Downloads: 482  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Curtis Poe | More programs
    Perl Artistic License / FREE
    October 20th, 2006, 09:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Class::CGI description

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

    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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    fetch objects | CGI object | Perl module | Class::CGI | fetch | objects

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM