Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Sequential defined-or operators

by naikonta (Curate)
on Jan 16, 2008 at 16:54 UTC ( #662717=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Sequential defined-or operators
in thread Sequential defined-or operators

Yes, I'm aware about this issue. I wrote related matter sometime ago. So I believe it will be perfectly fine to write:

my $value = $hash{$key} // func $arg // 'default';
knowing that func is a unary operator.

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!


Comment on Re^4: Sequential defined-or operators
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-08-21 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (136 votes), past polls