Re: why Perl complaints my script
- From: chen_li3@xxxxxxxxx (Chen Li)
- Date: Thu, 28 Sep 2006 08:17:40 -0700 (PDT)
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
.
- References:
- Re: why Perl complaints my script
- From: Dr.Ruud
- Re: why Perl complaints my script
- Prev by Date: Re: cgi script
- Next by Date: Re: why Perl complaints my script
- Previous by thread: Re: why Perl complaints my script
- Next by thread: Re: why Perl complaints my script
- Index(es):
Relevant Pages
|
|