Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Sequential defined-or operators

by ikegami (Patriarch)
on Jan 14, 2008 at 12:18 UTC ( [id://662281]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $value =  $hash{$arg}
              // func $arg
              // 'default';
    
  2. or download this
    my $value =  $hash{$arg}
              // func($arg // 'default');
    
  3. or download this
    my $value =  $hash{$arg}
              // (func $arg)
              // 'default';
    
  4. or download this
    my $value =  $hash{$arg}
              // func($arg)
              // 'default';
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-18 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found