in reply to Reading arrays

Show us sufficient code to run and demonstrate the problem you are having. What you do show is inconsistent with the problem you describe so there is more to the story than you are telling.

True laziness is hard work

Replies are listed 'Best First'.
Re^2: Reading arrays
by AnomalousMonk (Archbishop) on Feb 26, 2011 at 21:31 UTC

    Further to GrandFather's reply: This is what I get from my interpretation of the OP:

    >perl -wMstrict -le "use Data::Dumper; ;; my @geo = qw(BNJ CGN DUS ESS MGL SGE); print Dumper \@geo; ;; for my $records (@geo) { print qq{[$records]} } " $VAR1 = [ 'BNJ', 'CGN', 'DUS', 'ESS', 'MGL', 'SGE' ]; [BNJ] [CGN] [DUS] [ESS] [MGL] [SGE]

    joe_fubar: How does this "not work" for you?