Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Nice style for interesting error messages

by Fastolfe (Vicar)
on Jan 24, 2001 at 21:46 UTC ( [id://54057]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $failure = is_taken($domain);
    
    print "Failed: $failure\n" if $failure;
    
  2. or download this
    unless (lookup($domain)) {
       print $@ ? "$domain lookup failure: $@\n" 
                : "$domain is available!\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-26 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found