I am jumping in with both feet in writing my first C::A app by using the ActionDispatch plugin [1]. In my reading the docs suggest that there is no need to setup the run modes, that is if I have in MyApp.pm

sub fiveDigitCofips : Path('cofips/(\d{5})') { . . . }

then surfing to myapp.cgi/cofips/17031 should be sufficient but in error.log I get

No such run mode 'fiveDigitCofips' at .../myapp.cgi line 8

Am I oversimplifying the initialization of the app? Can anyone point me to a relevant example? Thanks.

Neil


[1] http://search.cpan.org/~jaywhy/CGI-Application-Plugin-ActionDispatch-0.02/lib/CGI/Application/Plugin/ActionDispatch.pm

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