Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Incidentally, this mechanism is a really neat way to create a recursive subroutine. BrowserUk, AFAIK, was the first to post it on PerlMonks. (I'm just too lazy to link to the post.) Using Fibonacci numbers as the example:
I personally write all my recursive code like this. ------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose I shouldn't have to say this, but any code, unless otherwise stated, is untested In reply to Re: Is it possible to create a sub exclusive to a sub?
by dragonchild
|
|