# -*- Mode: Perl; -*- use strict; $^W = 1; print "1..2\n"; use CGI::Ex; print "ok 1\n"; my $hidden_form_in = qq{ }; my %fdat = (foo1 => ['bar1'], foo2 => 'bar2'); my $fif = new CGI::Ex; my $output = $fif->fill(scalarref => \$hidden_form_in, fdat => \%fdat); my $output2 = $fif->fill(scalarref => \$output, fdat => \%fdat); if ($output2 =~ m/^\s*$/i){ print "ok 2\n"; } else { print "Got unexpected out for $hidden_form_in:\n$output2\n"; print "not ok 2\n"; }