On 7/31/07, Chas Owens <[EMAIL PROTECTED]> wrote:
snip
> print join(",", ($arrow[2]) x 3), "\n";
>
> which is the same as
>
> print join(",", $arrow[2], $arrow[2], $arrow[2]), "\n";
snip

It is important to note that

print join(",", (time()) x 3), "\n";

is not the same as

print join(",", time(), time(), time()), "\n";

time() is only evaluated once and then repeated.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to