Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: ||= (poorly documented?) (on truthiness)

by Anonymous Monk
on Jul 09, 2012 at 22:10 UTC ( #980771=note: print w/replies, xml ) Need Help??

in reply to Re^2: ||= (poorly documented?)
in thread ||= (poorly documented?)

To be fair, some things are a pain in the ass to google properly (especially if you aren't familiar with the topic in the first place). Also, documentation always makes more sense when you already know the topic. :P

That is not what I'm talking about since the OP was able to find perlop, but the problem was, it merely listed ||= it didn't explain much about it.

You had to read large chunks of perlop to figure out ||= is two operators in one, assignment and logical-or, and even then it didn't explain truthiness

On truthiness

How ||= works , its FAQ even though it doesn't search that way :)

Found 9 nodes roughly between 2012-07-09 and 1999-10-04 (searched 100.00% of DB).

where title contains "||="

2012-07-09 live4tech ||= (poorly documented?) SoPW
2010-10-24 perl-diddler is ||= threadsafe? SoPW
2009-04-07 Anonymous Monk What is the difference between |= and ||=? SoPW
2009-01-06 Brovnik ||= in Hash Slice SoPW
2008-09-19 Anonymous Monk What the heck does "tests->{$stype} ||= {};" do? SoPW
2008-05-28 throop ||= oddity SoPW
2007-11-27 Anonymous Monk Or, Or, Equals Zero, $x ||= 0 SoPW
2007-03-02 saintmike Why are "a ||= b" and "a = a || b" different? SoPW
2006-01-12 demerphq Are "$hash{$_} ||= 1 + keys %hash" and variants well defined or not? Med

  • Comment on Re^3: ||= (poorly documented?) (on truthiness)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://980771]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2018-04-26 04:49 GMT
Find Nodes?
    Voting Booth?