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

Yea, there are a few reasons. I posted a test case up there. Here is real code:
push @$month, { DATES => $dates, CITY => $city, STATE => $state, TITLE => $title, LOCATION => $location, }
The $month variable contains the name of the month. The data needs to be put in the appropriate array based on what the month variable contains. I could just make a giant if/then loop and do it, but I was looking for something shorter...

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