I often use 'die' function to print a message and the abort.
But 'die' function by default also prints the script name and the line at which 'die' function was used. For EG:
[some message] at i_want_to_live.pl line 13I just want to print the message and abort. So how can I disable the script name and the line number that is printed with 'die' function.
In reply to Customizing the 'die' funtion by paragkalra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |