in reply to Re^2: Failed array attemp
in thread Failed array attemp

You have to be using perl v5.10 or higher to use the smartmatch operator (~~).