Version 5 of Perl changed the semantics of $[: files that don't set the value of $[ no longer need to worry about whether another file changed its value. (In other words, use of $[ is deprecated.) So in general you can assume that
scalar(@whatever) == $#whatever + 1;
In reply to Re: Re: Re: Re: where to look up "funny looking" perl notation (and an example)
by Mr. Muskrat
in thread where to look up "funny looking" perl notation (and an example)
by glwtta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |