-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm setting up a new application and finally using version 2.x of CGI::Application::Dispatch. My dispatch table so far looks like this:

table => [
        ':instance/app' => { app => 'Welcome', rm => 'welcome' },
        ':instance/app/module/:rm/:object' => { app => 'Module' },
':instance/app/module/add/:type/:object' => { app => 'Module', rm => 'add' },
        ':instance/app/module' => { app => 'Module::List', rm => 'list' },
        ':instance/app/module/list' => { app => 'Module::List', rm => 'list'},
],

With the last entry, I'd like Dispatch to ignore any path after the 'list' and let Module::List handle it. An example URL would be:

http://127.0.0.1/testing/app/module/list/server

Dispatch won't find a match in the table above because of the addition of server to the path. Is it possible to tell Dispatch to if it's matched this far, it's match and ignore the rest of the URL?

Thanks.

~Shawn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFbGa8kabaK7htZbERAoMRAJ4kbMo+B5bIGaGnXKX9G8rr4Ekf0QCfW3BF
rO2hxBY7HrAKaJA1rtTLCYg=
=E259
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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