Stuff…

I know I will forget.

Stuff… header image 2

CGI::Application examples

July 14th, 2010 · No Comments

It has been a while since writing a CGI frontend to an application… In fact, CGI.pm was the way to do things when I last wrote a CGI application with Perl.

Was having a look at Catalyst and CGI::Application as MVC frameworks.  I decided that the learning curve for Catalyst was a little too great to start with and opted for CGI::Application (Catalyst does look really good though).

Some example code which I have found useful knocking up a test application:

* Found the reply from “Belgarion (Chaplain) on Dec 12, 2005 at 16:38 UTC” useful explaining the order in which CGI::Application (CAP) runs:

  1. cgiapp_init()
  2. setup()
  3. cgiapp_prerun()
  4. your selected run mode
  5. cgiapp_postrun()
  6. teardown()

Links:

Tags: Coding

0 responses so far ↓

  • There are no comments yet...

Leave a Comment