in reply to memory leak when using tail recursion?
See perldoc -f goto on your system.
Goto with a subroutine reference isn't a goto in the traditional sense. You need to use a label. They way you are using it is identical to calling bar().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: memory leak when using tail recursion?
by Limbic~Region (Chancellor) on Feb 14, 2007 at 00:05 UTC | |
by Cabrion (Friar) on Feb 14, 2007 at 00:33 UTC | |
by Limbic~Region (Chancellor) on Feb 14, 2007 at 00:43 UTC |