On 1/21/07, Michael R. Wolf <MichaelRWolf at att.net> wrote: > # Is there a more elegant way to get the equivalent of $#seasons if > # all you have is a reference? Somehting that would do to references > # what $# does to arrays.... > sure! use C<$#$seasons> perl -Mstrict -Mwarnings -e'my $a=[1,2,3]; print $#$a;' 2 ~jerry