#!perl use strict; use warnings; use HTML::FillInForm::Lite::Compat; my $fif = HTML::FillInForm->new(); my $html = <<'EOD'; EOD print "Before:\n", $html, "\n"; print "After:\n", $fif->fill(\$html, { hoge => 'on', foo => 'r2', });