Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Recursion Confusion

by Anonymous Monk
on Apr 27, 2013 at 11:04 UTC ( [id://1030952]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl --
    use strict; use warnings;
    use Devel::TraceCalls { Subs => [qw/ hanoi /]};
    ...
       }
    }
    __END__
    
  2. or download this
    TRACE: main::hanoi( 3, 'A', 'C', 'B', 0 )
    TRACE: +-main::hanoi( 2, 'A', 'B', 'C' )
    ...
    Move disk #2 from B to C.
    TRACE: | +-main::hanoi( 1, 'A', 'C', 'B' )
    Move disk #1 from A to C.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1030952]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found