Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Thoughts on using and, or, and not over && || !?

by Marshall (Canon)
on Jul 12, 2016 at 06:59 UTC ( [id://1167597]=note: print w/replies, xml ) Need Help??


in reply to Re: Thoughts on using and, or, and not over && || !?
in thread Thoughts on using and, or, and not over && || !?

Good post++. I would just add that the //= version of this operator is also available.
my $xyz; $xyz //= 'default'; print $xyz; #default

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found