1use strict; 2use warnings; 3 4use Test::More tests => 1; 5 6use HTML::FormFu; 7 8my $form = HTML::FormFu->new; 9 10$form->auto_fieldset( { nested_name => 'foo' } ); 11 12my $bar = $form->element('Text')->name('bar'); 13 14$form->process( 15 { 'foo.bar' => 'x', 16 foo => { bar => 'x', }, 17 } ); 18 19is_deeply( $form->input, { foo => { bar => 'x', }, }, ); 20