in reply to Re: Re: Problem with array references
in thread Problem with array references

You want a hash pointing to an array:
push @{$data_for_month{$month}}, { ... };
See "hashes of lists" (horrible name, but that's what they call it) in perldsc.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Re: Re: Problem with array references
by Stamp_Guy (Monk) on Sep 25, 2001 at 08:23 UTC
    Yup, that's what I ended up doing. Thanks for the suggestions!