[cgiapp] [Announce] CGI::Application::Plugin::Routes v1.01 now on cpan

Mike Tonks fluffymike at googlemail.com
Tue Jun 16 09:48:28 EDT 2009


Thanks Julián!

Very nice - this seems to work great and it's very easy to get into,
does exactly what I needed.  I'm still a bit intimidated by
CA::Dispatch.

One thing - if routes_root is not set, I get this in the logs:

[Tue Jun 16 14:39:43 2009] [error] [client 127.0.0.1] Use of
uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.8.8/CGI/Application/Plugin/Routes.pm line 81.
[Tue Jun 16 14:39:43 2009] [error] [client 127.0.0.1] Use of
uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.8.8/CGI/Application/Plugin/Routes.pm line 81.
[Tue Jun 16 14:39:43 2009] [error] [client 127.0.0.1] Use of
uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.8.8/CGI/Application/Plugin/Routes.pm line 81.

Setting $self->routes_root('') fixes this.  Perhaps it should default
to a blank string or be wrapped in a conditional?

cheers,

Mike Tonks


More information about the cgiapp mailing list