Hi Michael

(3)
Line 168:
unless(defined $ENV{PATH_INFO}) {
croak "reality checked failed: PATH_INFO is not defined in the
environment"; }

(I assume checked is a typo for check)

but in the docs you say:

PATH_INFO Parsing
This section will describe how the application module and run mode
are determined from the PATH_INFO if no DISPATCH TABLE is present,
and what options you have to customize the process.

But what if a dispatch table /is/ present? Why should path_info be
checked if I supply a table? Here's my scipt:

#!/usr/bin/perl

use CGI::Application::Dispatch;

CGI::Application::Dispatch -> dispatch
(
        prefix        => 'X::Y',
        table        =>
        [
                ''                        => {app => 'application', rm => 
'requestor'},
                ':app/:rm'        => {app => 'application'},
        ],
);

It dies with the above error. That doesn't seem right to me.

--
Cheers
Ron Savage, [EMAIL PROTECTED] on 13/02/2006
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to