>>>>> "MP" == Marco Pacini <i...@marcopacini.org> writes:

  MP> I'm studying Perl since one week on "Learning Perl" written by
  MP> L. Wall and in the paragraph "Assignment Operators" i don't
  MP> understand why this:

it was written by randal schwartz. larry wall co-wrote programming perl.

  MP>   ($temp = $global) += $constant;

  MP> is equivalent of:

  MP>   $tmp = $global + $constant;

  MP> Instead,  before i read it, i thought it was equivalent of:
        
  MP>   $temp = $global;
  MP>   $temp = $temp + $constant;

they do the same thing so why do you care?

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to