Paul Kraus wrote:
> I have a hash of arrays. Here is a sample of one of the elements
>
> $hoa{key}=[2,somestring,someotherstring];
>
> If I where to print it like this
> print "$#{hoa{key}}"
This is invalid syntax. It needs to be $#{$hoa{key}}
> It print 2.
>
> From how I understand thi
>I have a hash of arrays. Here is a sample of one of the elements
>
>$hoa{key}=[2,somestring,someotherstring];
>
>If I where to print it like this
> print "$#{hoa{key}}"
>It print 2.
I'm pretty sure this isn't your actual code.
>From how I understand this $# is dereferencing and should pr