in reply to arrays and foreach
You're confused about, whats is in an array, and what that array stringifies as
You can see the difference if you Dumper as recommended in Basic debugging checklist
$ perl -le " use Data::Dumper; @f = qw( 1 ; 2 ; 3 ); print Dumper( \@f + ); print @f; " $VAR1 = [ '1', ';', '2', ';', '3' ]; 1;2;3
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: arrays and foreach
by fritz1968 (Sexton) on Aug 16, 2012 at 17:29 UTC | |
by MidLifeXis (Monsignor) on Aug 16, 2012 at 18:04 UTC |