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


You don't need to declare $k inside for (). Change that to

for (; $k >= 1; $k--)

and perl won't complain about it anymore. I think the place before the first
';' is used for declaring any variables inside the lexical scope of for.
Maybe someone could explain this better?

--
Igor Sutton Lopes <[EMAIL PROTECTED]>

Reply via email to