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

As per my understanding, exec will launch the new process

No, exec replaces your current process.... a subtle difference.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^4: Restarting perl script by itself
by manua (Novice) on Sep 16, 2011 at 19:31 UTC
    Thanks, thats the point I was missing.