What is the Perl equivalent of PHP $_FILES
? I have software that sends log files to a web server, and I need to get them using Perl instead of PHP. I am using CGI.pm.
Here is the code in PHP:
<?
foreach ($_FILES as $key=>$value)
{
$uploaded_file = $_FILES[$key]['tmp_name'];
}
?>
source
share