in reply to Perl execution

Perl takes a "snapshot" of the currently running script, process, pid, etc. Any changes you make won't be recognized until the next run.