> 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})') { . . . }
The "Path" attribute shouldn't really have regular expression in it
use the "Regex" attribute for that.
Regex('configs/(\d{5})') <--should work
On another note, I saw this post yesterday and I figured I'd take a
look at this module again. I haven't really programmed in Perl in
over a year. However, since at least one person maybe using the
module ;), I figured I'd fix some outstanding problems. The version
on CPAN even had an erroneous "print" used for debugging that would
screw up HTTP headers. Whoops.
Hopefully by the time people read this it is uploaded. Check here.
http://search.cpan.org/~jaywhy/CGI-Application-Plugin-ActionDispatch/
--
Jason Yates
[EMAIL PROTECTED]
---------------------------------------------------------------------
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]