Sorry, forgot to reply-to-all again :( $a *= 2;
Basically translates to this: $a = $a * 2; just like $b += 1; translates to: $b = $b + 1; On Sun, Jan 2, 2011 at 7:00 PM, J. S. John <phillyj...@gmail.com> wrote: > Hi all, I'm new to Perl. The only other language I know is > Matlab/Octave and I'm still working my way around Linux. I am using > Shlomi Fish's tutorial on perl until I get the llama book. I'm stuck > on section [4.1. "+=" and friends ] [1]. I don't really understand the > part "$a *= 2; $b += 1;" What is the *= mean? > > [1] > http://www.shlomifish.org/lecture/Perl/Newbies/lecture1/variables/plus-equal.html > > Thanks, > JJ > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > >