[Catalyst] Catalyst::Plugin::Session::FastMmap error

Frank Wiegand frank.wiegand at gmail.com
Mon Apr 18 22:24:51 CEST 2005


Catalyst::Plugin::Session::FastMmap gives

	Use of uninitialized value in substitution (s///) at
	/usr/local/share/perl/5.8.4/URI/Find.pm line 120.

while processing

	$finder->find( \$c->res->{output} ) if $c->res->output;

and does not rewrite any URL in the output.

It seems to be caused by the changing from »output« to »body« in 
Catalyst::Response's accessors during the last releases.

Changing the above line to

	$finder->find( \$c->res->{body} ) if $c->res->output;
	$finder->find( \$c->res->{body} ) if $c->res->body;

fixes the problem.

Same Problem in Catalyst::FillInForm (or Catalyst::FillForm, who knows?)

	scalarref => \$c->response->{output},
	scalarref => \$c->response->{body},

For more issues, what's the best way (for you, the developers of 
Catalyst) to submit this kind of errors? rt.cpan.org? Or this mailing list?

Bye, Frank

More information about the Catalyst mailing list