in reply to Re: Perl script comes out because of a command failure. How to overcome it?
in thread Perl script comes out because of a command failure. How to overcome it?

Thanks kcott and Ken. The problem resolved once i added $t->errmode("return"); suggested by Kcott before while statement. I have even added chomp $req what Ken suggested. Thanks again for the solving my 1 week headache. Cheers, Sharath
  • Comment on Re^2: Perl script comes out because of a command failure. How to overcome it?

Replies are listed 'Best First'.
Re^3: Perl script comes out because of a command failure. How to overcome it?
by kcott (Archbishop) on Nov 05, 2013 at 09:44 UTC

    You seem a little confused over who's who and who posted what.

    kcott and Ken are one and the same (i.e. me); just as ramki067 and Sharath are one and the same (i.e. you).

    It was Athanasius who suggested $t->errmode("return");. He won't be notified of your reply to me; you may want to thank him separately.

    Anyway, glad you've resolved your problem, regardless of who's advice was involved. :-)

    -- Ken