in reply to foreach doesn't select array element
Why would the foreach change anything, its the same reference?
You probably want# ALL SAME dump(@$fldref[TXT]); foreach my $tmp (@$fldref[TXT]) { dump($tmp); } my ( $foobar ) = @$fldref[TXT]; dump($foobar);
When in doubt, show Data::Dumper outputforeach my $tmp (@{ $fldref[TXT][0] }) { dump($tmp); }
In Section
Seekers of Perl Wisdom