in reply to Problem with the HTML::Form inputs method

The inputs() method returns an array of HTML::Form::Input objects. To access the data, you need to use the accessor methods of that class, ie.

map $fields{$_->name} = $_->value, $form->inputs;