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


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

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.

Replies are listed 'Best First'.
Re^4: A quandry in Towers of Hanoi
by pmonk4ever (Friar) on May 19, 2009 at 01:34 UTC
    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."