in reply to Re^3: how many elements in array?
in thread how many elements in array?

While perldoc perlvar highly discourages the modification of $[, I recognize that in some very odd situation it may be the most natural way to solve a problem. In this case, it would be doing something very un-natural for the sake of being correct.

A little bit of knowledge is a dangerous thing. If you are going to give someone a loaded gun, please give them the instruction manual too.

Cheers - L~R