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

Re: ||= (poorly documented?)

by kcott (Abbot)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (15)
As of 2015-01-28 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (221 votes), past polls