[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Re: [cgiapp] Q: CGI::Application::Dispatch V 2.00_03


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, suppressed 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/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.