in reply to Re: Reliable Timeout
in thread Reliable Timeout

Actually it is better to not add the newline in a die because if you dont Perl will add the line you died on and a newline.

Replies are listed 'Best First'.
Re^3: Reliable Timeout
by gaal (Parson) on Feb 15, 2005 at 07:30 UTC
    Which you don't generally need if you're expecting to catch your own exceptions :)

    If there's a chance the die won't be caught by my own code, I like to use Carp::confess instead of die anyway to get the stack trace.