Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Customizing the 'die' funtion

by nvivek (Vicar)
on Apr 27, 2010 at 04:12 UTC ( #837014=note: print w/ replies, xml ) Need Help??


in reply to Customizing the 'die' funtion

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";


Comment on Re: Customizing the 'die' funtion
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://837014]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (13)
As of 2015-07-29 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls