in reply to Re^2: Preserve array contents in for() loop
in thread Preserve array contents in for() loop
That said, I guess I use Dumper so much that I didn't even notice what it was saying to me...
#!/usr/bin/perl # test.pl use strict; use Data::Dumper; my @foo = ('a', 'b', 'c');
When I run the above, I get...
I didn't even notice that it was reporting each variable separately and not as a part of an array.> test.pl $VAR1 = 'a'; $VAR2 = 'b'; $VAR3 = 'c';
I go looking for trees, and forget that I am in a forest.
|
|---|