Subject: | Dot in form params breaks form handling |
The following is a minimal test case showing the error:
use HTML::FormHandler;
my $form =
HTML::FormHandler->new( field_list => [ '(.1)' => { type => 'Text' }
] );
$form->process( params => { '(.1)' => 2 } );
use Data::Dumper;
print Dumper( $form->params );
The output:
$VAR1 = {
'(' => {
'1)' => 2
}
};
If you remove the dot:
$VAR1 = {
'(1)' => 2
};
Cheers,
Ovid