in reply to Re^3: Match operator fails for elements 100 and higher
in thread Match operator fails for elements 100 and higher

Yup, there is ambiguity as to whether the [999] is a character class or array index.

Odd that the contents should determine how it's parsed though.

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."