Don't worry, we all do stupid mistakes :)HiThat's why you should "use strict" for everything but one-liners.
It seems you are confusing arrays and hashes.
In perl $button["five"] is the same as $button[0], as "five" is 0 when converted to a number.