Well, yes, actually I did. I thought that
push @a;
was equivalent to
push @a, $_;
in the same manner that
print;
is equivalent to
print $_;
Maybe I need to brush up on when $_ has to be used and when i can be omitted.
Is there a good ref material or camel chapter on this?
Ed
In reply to Re: •Re: perl 1-liner to join a list?
by bfdi533
in thread perl 1-liner to join a list?
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |