[Israel.pm] Article: Optimizing Perl
gaal at forum2.org
Thu Oct 28 07:06:47 PDT 2004
On Thu, Oct 28, 2004 at 01:47:59PM +0200, Shlomo Yona wrote:
> >>And what about the '.' vs. ','?
> >I can't think of a good reason for a difference between the two,
> >I'd be more than glad to hear if such exists, and especially why...
> If I recall correctly, it is said in
> Effective Perl Programming:
> Writing Better Programs With Perl
> by Joseph N. Hall, Randal Schwartz
> that the ',' operator yields faster execution. I don't
> recall why.
The concatenation operator involves three objects: two arguments, and a
result. "," here, which isn't an operator at all, simply means that
print prints several things.
Gaal Yahas <gaal at forum2.org>
More information about the Perl