It doesn't make a difference if it's an array element or a simple scalar, in any case the perlfaq has answered it. See `perldoc -q 'determine.*number'`.
--In reply to Re: Is Array Element Numeric? (was I wonder...)
by fruiture
in thread Is Array Element Numeric? (was I wonder...)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |