Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How do you wanna die() ?

by grinder (Bishop)
on Mar 07, 2001 at 14:07 UTC ( #62705=note: print w/ replies, xml ) Need Help??


in reply to How do you wanna die() ?

How depressing. I just grepped as much perl code as I could find and it's all boringly technical.

$< and die "Not running as root.\n";

or

my $gid  = getgrnam $group or die "$group not in /etc/group\n";

but I did find

-d $base or die "$base directory does not exist (time to panic)\n"; grinder


Comment on Re: How do you wanna die() ?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-12-18 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (67 votes), past polls