On 15/12/2011 16:09, Ken Slater wrote:

I have not been following this too closely, but I don't understand the
algorithm used to get the above output.

What is that Ken? If you don't understand the question then ask some questions of your own!

I would have named it @fieldValues since arrays usually hold multiple values

Renaming variables will never fix a problem as long as 'use strict
"vars"' is in effect. It is a gesture towards better code and no more.

my @apxScript=(@headerNames, @fieldValue); print Dumper \@headerNames;
print Dumper \@fieldValue; print Dumper \@apxScript;

HTH, Ken

This is the source of the OP's misunderstanding, yet you make no comment at all.

Rob

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to