Re: Assignment Operator

2009-11-28 Thread Jenda Krynicky
From: Marco Pacini Subject:Assignment Operator Date sent: Thu, 26 Nov 2009 12:31:54 +0100 To: beginners@perl.org > Hi All, > > I'm studying Perl since one week on "Learning Perl" written by L. Wal

Re: Assignment Operator

2009-11-26 Thread Uri Guttman
> "MP" == Marco Pacini 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)

Re: Assignment Operator

2009-11-26 Thread Philip Potter
2009/11/26 Marco Pacini : > Hi All, > > I'm studying Perl since one week on "Learning Perl" written by L. Wall and in > the paragraph "Assignment Operators" i don't understand why this: > >        ($temp = $global) += $constant; > > is equivalent of: > >        $tmp = $global + $constant; > > Inst

Assignment Operator

2009-11-26 Thread Marco Pacini
Hi All, I'm studying Perl since one week on "Learning Perl" written by L. Wall and in the paragraph "Assignment Operators" i don't understand why this: ($temp = $global) += $constant; is equivalent of: $tmp = $global + $constant; Instead, before i read it, i thought it was eq