Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Hanoi Challenge

by tilly (Archbishop)
on Oct 22, 2004 at 16:20 UTC ( #401551=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (disk): (peg from) -> (peg to)
    
  2. or download this
    $ ./hanoi.pl 3 3
    1: A -> B
    ...
    1: C -> A
    2: C -> B
    1: A -> B
    
  3. or download this
    #! /usr/bin/perl -w
    use strict;
    ...
    
    Ben Tilly (tilly on perlmonks)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://401551]
Approved by atcroft
Front-paged by gmax
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2022-01-26 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (69 votes). Check out past polls.

    Notices?