That's very clever John,
I'm wondering why ($cnt++) won't work instead of this
> recursive(++$cnt) if $cnt<10;
I tested it, it gave endless recursion.

And what's the meaning of "0" here?
Why didn't you pass "1"  as for recursive(1), 
which is more sensible to me? Which also works.

> recursive(0);

--
Regards,
Edward WIJAYA
SINGAPORE


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to