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

[cgiapp] ActionDispatch setup


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