use YAML qw' Load '; use HTML::FormFu; my $f = HTML::FormFu->new; $f->populate( Load( <<'__YAML__' ) ); --- ... __YAML__ print $f; #### options: - value: 'Code1' label_loc: 'String Theory'