Applying pattern match (m//) to @array will act on scalar(@array)