The special variable $# (see perlvar), which got deprecated and is not longer supported, has nothing to do with the $#array expression which denotes the last index of @array.
It might well be that $# got deprecated because of such confusions...
In reply to Re: Is using $#array Frowned on?
by shmem
in thread Is using $#array Frowned on?
by doubleqq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |