in reply to Re^2: running script remotely
in thread running script remotely

The first thing the example does is to delete itself. Once the perl interpreter has read it, it is no longer required.