in reply to Script runs twice

It can be a problem with the Web server setup. Or, perhaps, browsers do some re-caching, or there is a proxy server between the browser and the server and it refreshes the page.

Can you see your script being accessed multiple times in the server logs?

Sorry if my advice was wrong.

Replies are listed 'Best First'.
Re^2: Script runs twice
by Mr. Muskrat (Canon) on Aug 21, 2012 at 20:37 UTC
      I have tested the script in several different browsers with the same result. Checked the addons anyway, just to be sure. There are no suspicious addons.
Re^2: Script runs twice
by NatalieQ (Initiate) on Aug 21, 2012 at 23:06 UTC
    Yes, I can see the script being accessed twice every time I run it in the server logs.
      I think there is nothing to do with Perl. Do you have any server-side proxy installed?
      Sorry if my advice was wrong.