in reply to Re^2: CGI::Application for complex web applications?
in thread CGI::Application for complex web applications?

I use CGI::Application::Plugin::AutoRunmode with CGI::Application::Dispatch all the time. They work really well together.

for most of the plugins, you just have to use them in your module

package My::App; use base qw(CGI::Application); use CGI::Application::Plugin::AutoRunmode; use CGI::Application::Plugin::Session;

As for finding all the plugins, since many of the plugins are written by different authors, you can't easily see a list of all of them on one page. Your best bet is just to use search.cpan.org and search for CGI::Application. You will have to page through cause there are quite a few of them. Another way to find them all quickly is to look in the 02packages.details.txt.gz file in your local CPAN directory:

zcat $HOME/.cpan/modules/02packages.details.txt.gz | grep 'CGI::Applic +ation'

That will quickly give you a list, although you won't get you much information.

Replies are listed 'Best First'.
Re^4: CGI::Application for complex web applications?
by techcode (Hermit) on Jul 28, 2005 at 12:51 UTC
    Thanks cees!

    I don't know how/why but for some reason I was reading "use base 'CGI::Application::Plugin::Session';' instead of just simple "use CGI::Application::Plugin::Session;" on all those plug ins.

    Guess I made it in my mind that those are sub-classes of CGI::App for some strange reason. Probably because Perl's OOP is a bit different on those matters than what they are forcing on university (Java, C# ...).