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

If you really want to write your own messages, die has a lot of flexibility. perldoc -f die describes how to use some of the built-in tokens to create them.

From your comment of "i know it died there i told it to with die;" I would think you might be looking for exit instead. That just exits your program with a defined status code (or 0 if none is provided).

-Kurt

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