in reply to confusing question, involving multidemensional arrays
Then, whenever you want to push a value onto one of those subarrays, like you just read a listing? Then do something like push @{$cat->{'birds'}}, $line;.my $cat = { birds => [], turds => [], flirds => [], };
If you have any further questions, please don't hesitate to ask. :)
------
/me wants to be the brightest bulb in the chandelier!
Vote paco for President!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: confusing question, involving multidemensional arrays
by Zed_Lopez (Chaplain) on Aug 09, 2001 at 20:15 UTC |