Perhaps you can't see it because you've got the statement wrong. It should be
($a,$b)=($b,$a+$b);
It's a simple list assignment. $a gets the value of $b and $b gets $a+$b.
Incidently, it can be a bad idea to use $a and $b in Perl scripts as they are "special" variables because of their use in sorting.
Blessed Be
The Pixel
In reply to Re: Re: Re: Fibonacci numbers(Again)
by pixel
in thread Fibonacci numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |