if (@array2 > 3) { # array2 has more than three elements }