If you don't want to print the script name by die function.You try the following.
die "Message\n";
If you want the particular error message why die occurred,you use the following.
die "Message:$!\n";
In reply to Re: Customizing the 'die' funtion
by nvivek
in thread Customizing the 'die' funtion
by paragkalra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |