laziness, impatience, and hubris | |
PerlMonks |
Re: factorial through recursionby blokhead (Monsignor) |
on Jul 23, 2009 at 19:48 UTC ( [id://782773]=note: print w/replies, xml ) | Need Help?? |
In addition to missing braces in the if-statement, you have a problem with this line:
shift only returns one element from @_. You probably mean:
blokhead
In Section
Seekers of Perl Wisdom
|
|