Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

A Tutorial for CGI::Application

by bradcathey (Prior)
on Jul 18, 2008 at 18:24 UTC ( #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
Node Status?
node history
Node Type: perltutorial [id://698693]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-07-28 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls