in reply to Re^2: retrieve list values...
in thread retrieve list values...
If you did anything wrong, it was to neglect to say that you've got a plain array that you're printing out the variable using Data::Dumper. :-)
To account for this, simply take the code I posted before and replace @$VAR1 with @tss: :
I might also suggest that you read up on references, e.g. in perlreftut.for my $rec_hr ( @tss ) { my @rec = @{$rec_hr}{'ID','TEXT','VALUE'}; push @array_records, \@rec; print "(@rec)\n"; }
|
|---|