Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: RFC: Defined-Or for before Perl 5.10

by ikegami (Patriarch)
on Nov 10, 2010 at 22:48 UTC ( [id://870715]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub _defined {
       if (defined($_[0])) {
    ...
    }
    
    my $pid = _defined fork(), _or { die "Can't fork: $!" };
    
  2. or download this
    my $pid = defined_or fork(), sub { die "Can't fork: $!" };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found