Your subroutine should start with
sub process{ my $outfile= shift; [download]
In reply to Re: &process or die by Anonymous Monk in thread &process or die by steph_bow