Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Anonymous Monk
on Jul 09, 2012 at 14:56 UTC ( [id://980698]=note: print w/replies, xml ) Need Help??


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

To be fair ...

Teach a man how to find answers and you teach him for life.
Answer his questions for him and you get Perlmonks XP.

Replies are listed 'Best First'.
Re^4: ||= (poorly documented?)
by frozenwithjoy (Priest) on Jul 09, 2012 at 15:12 UTC

    You got me, the only reason I'm on here is to accumulate XP so I can get more spells and a larger HP pool next level.

    Seriously though, I think the OP did a decent job trying to figure things out before posting. S/he read the obvious doc, did some troubleshooting, and had a nearly correct understanding of the ||= operator, but was unsure and needed confirmation and a little guidance. I think the OP's main issue is that the reader of perlop needs to extrapolate some of the function of ||= from the examples for += and the OP may have missed that. Regarding // vs ||, even some of the people answering had some confusion.

    OK, that's my two cents. Now I'm off to Reddit, where the votes actually matter!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2025-06-13 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.