Recent perls have a feature (I'm not entirely sure why) that if @foo is seen in an interpolated string before any element of @foo (or the entire array itself) is used in an expression, you'll get barked at. Using the symbol *foo is not good enough, but using subscripts like $foo[0] is.