Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

A Tutorial for CGI::Application

by bradcathey (Prior)
on Jul 18, 2008 at 18:24 UTC ( [id://698693]=perltutorial: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /opt/foobar/myapps/---+
           |            |
    ...
                        |
                  thankyou.html
    
  2. or download this
    #!/usr/local/bin/perl -T
    
    ...
    
    my $app = Acmecorp::Contact->new( PARAM => 'client' );
    $app->run();
    
  3. or download this
       <form action="/contact/index.cgi" method="post">
          <input type="hidden" name="rm" value="s" />
    ...
          <p>More info: <input name="more_info" type="checkbox" value="yes
    +" /></p>
          <p><input name="Submit" type="submit" value="Submit" /></p>
       </form>
    
  4. or download this
    package Foobar_Super;
    
    ...
                          {RaiseError => 1} );
    }
    1;
    
  5. or download this
    #--- MySQL Server ---
    [db]
    host  = DBI:mysql:foobar:localhost
    user  = acmecorp
    pass  = AKCgKYxc
    
  6. or download this
    package Acmecorp::Contact;
    use base qw(Foobar_Super Common);
    ...
       $self->dbh->do($stmt, undef, values %sql);   
    }   
    1;
    
  7. or download this
    sub validate {
       my $self = shift;
    ...
       }
    }
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perltutorial [id://698693]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-18 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found