[Catalyst] Bug in HTML::Widget::Result::elements

Bernhard Graf catalyst at augensalat.de
Fri Mar 17 16:36:15 CET 2006


Calling
    $result_object->elements()
gives a warning for each element:

Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Widget/Result.pm line 194.

It is this line:
	$params->{$name} = $value;

I'm not sure what this assignment is supposed to do (doesn't look
really usefull to me), but at least it should be
	$params->{$ename} = $value;
I think.
-- 
Bernhard Graf



More information about the Catalyst mailing list