Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: ||= (poorly documented?)

by kcott (Canon)
on Jul 09, 2012 at 06:02 UTC ( #980653=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $x ||= 2;
    
  2. or download this
    $x = $x || 2;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-12-05 00:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (71 votes). Check out past polls.