in reply to how to prevent perl script from terminating

You've ruled out signals then? Did you try catch or ignore as with $SIG{PIPE} = 'IGNORE'; ?

Replies are listed 'Best First'.
Re^2: how to prevent perl script from terminating
by kamrul (Acolyte) on May 20, 2015 at 19:31 UTC
    Hi, I didnt try with: $SIG{'PIPE'} = 'IGNORE' before. Now I can prevent it from stopping and catch the exceptions aswell ... Thanks a lot!!!