RE: Ref - Hash of Arrays

2003-02-03 Thread Bob Showalter
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

RE: Ref - Hash of Arrays

2003-02-03 Thread Mark Anderson
>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