in reply to Re^3: Restarting perl script by itself
in thread Restarting perl script by itself

Thanks, thats the point I was missing.