Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

exit or die in error handling?

by Anonymous Monk
on Apr 14, 2005 at 10:09 UTC ( #447683=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl 
    $type = $ARGV[0];
    ...
    die;
    }
    
  2. or download this
    else {
    print "The parameters for this program are as follows: [job/member/fil
    +e] [jobnumber/membernumber/filename]";
    exit;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://447683]
Approved by ghenry
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2023-01-30 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?