in reply to A quandry in Towers of Hanoi

my @polea = ""; my @poleb = ""; my @polec = "";

You are assigning an empty string to the first element of your arrays.   Just declare your arrays like this:

my @polea; my @poleb; my @polec;