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


in reply to Code won't proceed after input.

Line 19's @AAMatrix is not the same array as referenced in line 57's $AAMAtrix$y. Case matters. And "$AAMAtrix$y" is not the same as ""$AAMAtrix $y".