in reply to What does $#variable mean?

quote from "Learning Perl":
You can use $#fred to get the index value of the last element of @fred +.

pelagic

-------------------------------------
I can resist anything but temptation.