Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: All in one

by rkg (Hermit)
on Jan 15, 2004 at 03:25 UTC ( #321455=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(F, ">foo.txt") or die "hey, couldn't open foo.txt";
    
  2. or download this
    if (!open(F, ">foo.txt")) {
       die "hey, couldn't open foo.txt";
    }
    
  3. or download this
    # does not work
    die "missing arg $_" unless $args{$_} for (qw(foo bar baz boop));
    
  4. or download this
    # untested
    for (qw(foo bar baz boop)) {
      die "missing arg $_" unless $args{$_};
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2023-10-03 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?