|
|
| Just another Perl shrine | |
| PerlMonks |
Re: the ref use the same memory when i push structure onto array? Gahh .. please help me dear perl-gurusby eric256 (Parson) |
| on Mar 09, 2010 at 14:11 UTC ( #827537=note: print w/ replies, xml ) | Need Help?? |
|
you could also just add a my $rr; at the top of the loop to make sure you where starting with a new $rr everytime through. You could also use hash slices to simply the split a little
___________ Eric Hodges
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||