http://www.perlmonks.org?node_id=649076


in reply to cannot follow hanoi subroutine

That code seems to come from chapter 1 of the book Higher-Order Perl. In the book, it's accompanied by a detailed explanation, and a simpler example.

I hope it wouldn't be out of line to suggest that you might understand the code better if you had the book.

Replies are listed 'Best First'.
Re^2: cannot follow hanoi subroutine
by joel.neely (Novice) on Nov 06, 2007 at 13:02 UTC
    IMHO not out of line at all. Chapter 1 alone is worth the price of the book.