Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Perl applications

by dragonchild (Archbishop)
on Apr 25, 2004 at 02:23 UTC ( [id://347916]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    eval {
        # Code that might die
    }; if ($@) {
        # Catch area
    }
    
  2. or download this
    sub foo { return undef; }
    
    my @x = foo();
    if (@x) { print "foo() succeeded\n" } else { print "foo() failed\n";
    
  3. or download this
    # Create an ID to name hash
    my %hash = map { $_->id, $_->name } @Objects;
    ...
    
    # Create an ID to name hash
    my %hash = map { $_->id => $_->name } @Objects;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-26 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found