in reply to •Re: perl 1-liner to join a list?
in thread perl 1-liner to join a list?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: •Re: perl 1-liner to join a list?
by Nkuvu (Priest) on Nov 11, 2003 at 21:34 UTC | |
|
Re: Re: •Re: perl 1-liner to join a list?
by thens (Scribe) on Nov 12, 2003 at 12:46 UTC | |
by Smylers (Pilgrim) on Nov 12, 2003 at 16:04 UTC |