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().
In reply to Re: memory leak when using tail recursion?
by Cabrion
in thread memory leak when using tail recursion?
by juddhuck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |