Neil Best wrote:

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

The distribution of this plugin shows related examples of how to use it:

http://search.cpan.org/src/JAYWHY/CGI-Application-Plugin-ActionDispatch-0.02/example/WebApp/Cart.pm
http://search.cpan.org/src/JAYWHY/CGI-Application-Plugin-ActionDispatch-0.02/t/

  Mark



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