logo       

ANNOUNCE: CGI-Application-Dispatch-0.01: msg#00098

Subject: ANNOUNCE: CGI-Application-Dispatch-0.01
The uploaded file

    CGI-Application-Dispatch-0.01.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/W/WO/WONKO/CGI-Application-Dispatch-0.01.tar.gz
  size: 4713 bytes
   md5: 4c3b4fb8dfdbfb6fb5f4ec87c7840d61


NAME
    CGI::Application::Dispatch - Class used to dispatch request to
    CGI::Application based objects


SYNOPSIS
  Under mod_perl
        <Location /app>
            SetHandler perl-script
            PerlHandler CGI::Application::Dispatch
        </Location>


  Under normal cgi
        #!/usr/bin/perl
        use strict;
        use CGI::Application::Dispatch;


        CGI::Application::Dispatch->dispatch();


DESCRIPTION
    This module provides a way (as a mod_perl handler or running under
    vanilla CGI) to look at the path ($r->path_info or $ENV{PATH_INFO}) of
    the incoming request, parse off the desired module and it's run mode,
    create an instance of that module and run it.


    It will translate a URI like this (under mod_perl):


            /app/module_name/run_mode?extra_stuff...


    or this (vanilla cgi)


            /app/index.cgi?/module_name/run_mode?extra_stuff...


    into something that will be functionally similar to this


            my $app = Module::Name->new(..);
            $app->mode_param(sub {'run_mode'}); #this will set the run mode




--
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@xxxxxxxxxxxxxxxxx/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe