Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Snarky comments on the ddj perl quiz

by rvosa (Curate)
on Aug 23, 2007 at 14:27 UTC ( #634643=note: print w/replies, xml ) Need Help??


in reply to Snarky comments on the ddj perl quiz

Both $price =+9; and $price = $price + 9; accomplishes the same thing of adding 9 to the current value of the $price variable. Answer: C.
Erm, shouldn't that be "$price += 9"?
  • Comment on Re: Snarky comments on the ddj perl quiz