in reply to Re: Re: How to get die() to stop printing a line number?
in thread How to get die() to stop printing a line number?

I typically consider such possibilities ("is there something useful we can do if the file isn't there?") when designing or writing the program. I cannot recall adding such a feature only after getting feedback, including the die() message. But then again, I might have done such a thing once or twice. I just don't think I would have looked at the die message for the linenumber.

Abigail

  • Comment on Re: How to get die() to stop printing a line number?

Replies are listed 'Best First'.
Re: Re: How to get die() to stop printing a line number?
by tilly (Archbishop) on Jul 03, 2003 at 03:20 UTC
    I like working with code where the original author thought such things through.

    Unfortunately I have not always had that luxury. First of all because there was a point where I was the author and had not learned the value of thinking things through, and secondly because I have had to maintain other people's code.

    And yes, the line number has saved me from major grief upon multiple memorable occasions. YMMV (and apparently does).