HI,
careful with those comma's:
perl -e '@a = qw(a, b, c);map { print "$_\n"; } @a'
gives:
a, b, c
While:
perl -e '@a = qw(a b c);map { print "$_\n"; } @a'
gives:
a b c
With qw you can skip the comma...
UPDATE: sorry for the spelling mistake. It's commas! I've been reading slashdot too much lately.
In reply to Re^2: qw() problem
by gargle
in thread qw() problem
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |