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
In reply to Re: arrays and foreach
by Anonymous Monk
in thread arrays and foreach
by fritz1968
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |