in reply to Re: assign variable and shift arrayin thread assign variable and shift array
my $file = shift(@fileArray); my $pid = fork(); ... [download]