Help for this page
<form name="test" method="post" action="/cgi-bin/test.pl"> <input name="myfile" type="file"> <button>Submit</button> </form>
my $cgi = new CGI; my $file = $cgi->param('myfile'); ... print "<p>$file"; print $_ while (<$fh>);