$a *= $b means the same thing as $a = $a * $b.

On Sun, 02 Jan 2011 19:00:05 -0500, 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



--
Using Opera's revolutionary email client: http://www.opera.com/mail/

--
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