in reply to Re^2: Script runs twice
in thread Script runs twice

I think there is nothing to do with Perl. Do you have any server-side proxy installed?
Sorry if my advice was wrong.