Na sua forma mais simples, o que você está pedindo é muito fácil:
HTML
<html><body>
<form action="../cgi-bin/find_files.pl" method="POST">
<input type="text" name=name></input>
<input type=submit>
</form>
Script Perl
#!/usr/bin/perl
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
my $cgi = new CGI;
my $target='/tmp'; ## directory to search in
my $name = $cgi->param('name') || carp("no search terms entered");
my $res='find $target -name $name';
my @lines=split(/\n/,$res);
print header;
print "<table>";
foreach my $line (@lines) {
print "<tr><td>$line</td></tr>";
}
print "</table>";