I am using the following command to restart my perl script, once its complete(to free the memory),
With this I am able to restart the script, but when I checked the process id with $$, it always gives me the same value. As per my understanding, I should get a different id each time as the process has been restarted.Is my understanding correct.
Kindly let me know your inputs.