Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: A quandry in Towers of Hanoi

by pmonk4ever (Friar)
on May 15, 2009 at 16:42 UTC ( #764311=note: print w/ replies, xml ) Need Help??


in reply to Re: A quandry in Towers of Hanoi
in thread A quandry in Towers of Hanoi

Hi, tilly, thank you for your suggestion on the print statement, however, as you can see in my update, something's wrong. I looked up the 'map' function, but perldoc was not very helpful.

ki6jux

"No trees were harmed in the creation of this node. However, a rather large number of electrons were somewhat inconvenienced."


Comment on Re^2: A quandry in Towers of Hanoi
Re^3: A quandry in Towers of Hanoi
by tilly (Archbishop) on May 15, 2009 at 17:13 UTC
    I said \@polea to create a reference to your array while you said \$polea which creates a reference to a non-existent scalar. Hence the problem.

    Implement the print statement as I actually wrote it and the program will run correctly. Also see references quick reference if references are confusing you.

      Oops, I hate it when I do that!

      Thanks, it worked fine.

      ki6jux

      "No trees were harmed in the creation of this node. However, a rather large number of electrons were somewhat inconvenienced."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-07-23 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (131 votes), past polls