Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Sequential defined-or operators

by ikegami (Pope)
on Jan 14, 2008 at 12:18 UTC ( #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
Node Status?
node history
Node Type: note [id://662281]
help
Chatterbox?
[Corion]: Heh. The JSON link for Strawberry releases gives me the idea that I should provide an RSS proxy so people can get notified when a new release is there...
[Corion]: In other RSS news, I've updated my photo stream with images from Lanzarote
[choroba]: Corion Nice
[Corion]: Hi choroba! I'm somewhat fond of this picture - I think it is Breaking Bad-style even though I haven't watched the series at all ;)
[Corion]: Hmmm - and now that I look at it, the gallery I'm using doesn't produce non-Javascript compatible links in the sense that hotlinking to an image will only work for Javascript enabled...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2017-02-27 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (377 votes). Check out past polls.