in reply to Re: Re: Maximum sub-arrays?
in thread Maximum sub-arrays?

No, later in program (after all of the arrays have been created) the following is in a loop:
push @{ dbData[$index] }, $somevalue;
The  $name=$name[0] line is misleading and shouldn't have been included in my snippet.

Replies are listed 'Best First'.
Re: Re: Maximum sub-arrays?
by Roger (Parson) on Mar 01, 2004 at 12:16 UTC
    push @{ dbData[$index] }, $somevalue;

    Is that a typo or was that the source of your problem?

    push @{ $dbData[$index] }, $somevalue; # ^ # missing the $