Re: No overload magic

[prev] [thread] [next] [Date index for 2005/02/16]

From: Karjala
Subject: Re: No overload magic
Date: 14:09 on 16 Feb 2005
But can "sub { shift->stringify_self == shift }" handle the case 
"$obj1==$obj2" ?
I wonder.
I couldn't figure this one out from perldoc overload.

Alex



William Ross wrote:

> On 16 Feb 2005, at 11:57, Karjala wrote:
>
>> William Ross wrote:
>>
>>> <snip>
>>> and not
>>
>>
>>    '==' => sub { shift->stringify_self },
>>
>> The latter returns the key of the object as the truth value of the 
>> equality, regardless of whether the equality is true or not.
>
>
> Sloppy *and* silly. bad I. thanks.
>
> Think I'll go and make fireworks in the shed for a bit.
>
> will
>
>


No overload magic
Karjala 07:55 on 16 Feb 2005

Re: No overload magic
Karjala 08:01 on 16 Feb 2005

Re: No overload magic
William Ross 10:05 on 16 Feb 2005

Re: No overload magic
Michael G Schwern 11:25 on 16 Feb 2005

Re: No overload magic
Tony Bowden 14:10 on 16 Feb 2005

Re: No overload magic
William Ross 14:20 on 17 Feb 2005

Re: No overload magic
Michael G Schwern 06:43 on 18 Feb 2005

Re: No overload magic
Tony Bowden 08:21 on 18 Feb 2005

Re: No overload magic
Tim Bunce 09:43 on 18 Feb 2005

Re: No overload magic
Karjala 11:57 on 16 Feb 2005

Re: No overload magic
William Ross 13:52 on 16 Feb 2005

Re: No overload magic
Karjala 14:09 on 16 Feb 2005

Re: No overload magic
Michele Valzelli 11:59 on 16 Feb 2005

Re: No overload magic
Ofer Nave 21:53 on 16 Feb 2005

Re: No overload magic
Ken.Olstad 22:00 on 16 Feb 2005

Generated at 11:20 on 20 Feb 2005 by mariachi v0.52