[Catalyst] Strange warning...
Rippl, Steve
rippls at woodlandschools.org
Fri Nov 20 17:50:18 GMT 2009
Hi,
Catalyst version 5.80011
This line...
$c->response->redirect($c->uri_for($c->controller('WsdSis::Controller::Sect=
ion')->action_for('list')));
is giving me this warning...
[warn] Used regexp fallback for
$c->controller('WsdSis::Controller::Section'), which found
'WsdSis::Controller::Sections'. Relying on regexp fallback behavior for
component resolution is unreliable and unsafe. You probably meant
$c->controller('WsdSis::Controller::Sections') instead of
$c->controller({'WsdSis::Controller::Section'}), but if you really
wanted to search, pass in a regexp as the argument like so:
$c->controller(qr/WsdSis::Controller::Section/)
at /srv/WsdSis/script/../lib/WsdSis/Controller/Login.pm line 50
But I haven't got $c->controller({'WsdSis::Controller::Section'}) in my
code?
What am I missing?
Thanks,
Steve
-- =
Steve Rippl
Technology Director
Woodland Public Schools
360 225 9451 x326
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20091120/581c6=
5d3/attachment.htm
More information about the Catalyst
mailing list