On Mon, Aug 10, 2009 at 14:00, Shawn H. Corey<shawnhco...@gmail.com> wrote:
> Chas. Owens wrote:
>>
>> =head2 C<X ||= Y>
>>
>> This is equivalent to C<X = X || Y>, see C<||> and C<=> for more
>> information.
>
> This is equivalent to C<X = X || (Y)>, see C<||> and C<=> for more
> information.
>
> =cut
>
> A subtle difference that can catch the unaware :)
snip

It is subtle enough that I don't see it, unless you meant X = (X) ||
(Y) which solves the problem of operator precedence levels in X and Y,
but I am assuming X and Y are already whole units.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to