[Catalyst-dev] Annoying undef warnings from CP::Static::Simple

Dave Rolsky autarch at urth.org
Fri May 30 23:35:11 GMT 2008


I'm getting a bunch of warnings from requests for static content that look 
like this:

  Use of uninitialized value in length at
  /usr/local/share/perl/5.8.8/Catalyst/Dispatcher.pm line 287.

The problem is that Catalyst::Dispatcher expects $c->req->match to be 
defined, but it isn't when CPSS does the dispatching.

I'm not sure where this should be fixed. Should $c->req->match always be 
set? Or should CD just not assume it is defined?


-dave

/*==========================
VegGuide.Org
Your guide to all that's veg
==========================*/



More information about the Catalyst-dev mailing list