in reply to Re: Length of 2-dimensional array
in thread Length of 2-dimensional array

I'm sorry, but you are still not clear. Do you want the 'inner' of the 'outer' length?
  1. If you want the inner length (first dimension), just skip the sub and use
    $inner_length = @$data;
  2. If you want the outer (second) dimension, drop the sub as well: $outer_length = @{$data->[$iwannanowthalengthdude]};
Hope this helps,

Jeroen
"We are not alone"(FZ)

Replies are listed 'Best First'.
Re: Re: Re: Length of 2-dimensional array
by feloniousMonk (Pilgrim) on Apr 06, 2001 at 17:55 UTC
    --
    OK - that's it. I was looking for the inner length,
    thanks.

    Ijust wasn't seeing it. I've not yet scrubbed all of this
    C from my brain yet so sometimes I get foozeld

    Silly me.

    --
    Felonious
    Fooz-eld - definition: Temporarily confused,
    frustrated. Prelude to disgruntled