BTW, what was the last time you actually generated a stack trace?
I used confess and code analysers on my previous workday.
define the _hanoi() as an ordinary subroutine accessing the package variable $move_disk.
Yeah, you could make _hanoi public, but it doesn't buy you anything to do so.
In reply to Re^7: passing subroutine references
by ikegami
in thread passing subroutine references
by joe76
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |