use CGI; my $cgi = new CGI; my $filename = $cgi->param('Filedata');