Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Recursion Confusion

by Anonymous Monk
on Apr 27, 2013 at 11:04 UTC ( #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
Node Status?
node history
Node Type: note [id://1030952]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2016-09-25 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (466 votes). Check out past polls.