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

Re^3: &&= vivify keys?

by Eliya (Vicar)
on Apr 18, 2012 at 22:03 UTC ( #965810=note: print w/replies, xml ) Need Help??


in reply to Re^2: &&= vivify keys?
in thread &&= vivify keys?

Thanks for the clarification.

As for

3. If the scalar from the LHS is false, ...

I think that should be

    3. If the scalar from the LHS is true, ...

How else could a true value in the scalar ever change?

$ perl -E'$x=1; $x &&= 0; say $x' 0

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-12-11 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (311 votes). Check out past polls.

    Notices?