Re: why Perl complaints my script



Thanks,

Li

--- "Dr.Ruud" <rvtol+news@xxxxxxxxxxxx> wrote:

chen li schreef:

for ($k; $k>=1;$k--) {$result*=$n--;}

Alternative:

$result *= $n-- for 1..$k ;

--
Affijn, Ruud

"Gewoon is een tijger."



--
To unsubscribe, e-mail:
beginners-unsubscribe@xxxxxxxx
For additional commands, e-mail:
beginners-help@xxxxxxxx
<http://learn.perl.org/>
<http://learn.perl.org/first-response>





__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
.



Relevant Pages