Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

CGI::Application

by rob_au (Abbot)
on Jul 27, 2001 at 18:37 UTC ( #100315=modulereview: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    $application->run();
    
    exit 0;
    
  2. or download this
    package self;
    
    ...
    };
    
    1;
    
  3. or download this
    sub setup {
        my ($self) = shift;
    ...
        #
        $self->param('dbh' => DBI->connect());
    };
    
  4. or download this
    sub teardown {
        my ($self) = shift;
    ...
        #
        $self->param('dbh')->disconnect;
    };
    
  5. or download this
    #   An example run-mode method
    #
    ...
    
        return $html->output;           #   return template output to CGI:
    +:Application framework for display (*GOOD*)
    };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-09-19 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (133 votes), past polls