Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

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


In reply to Re^3: ||= (poorly documented?) (on truthiness) by Anonymous Monk
in thread ||= (poorly documented?) by live4tech

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (6)
    As of 2014-09-18 22:16 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (125 votes), past polls