# name entered by the user for the uploaded file my $file = $formdata->param('file'); # the actual filehandles for the uploaded file my $fh = $formdata->upload('file');