in reply to Re^6: passing subroutine references
in thread passing subroutine references
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.
|
|---|