develooper Front page | perl.perl5.porters | Postings from May 2003

Re: Can I OVERLOAD the assignment operator? Please???

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
May 23, 2003 06:25
Subject:
Re: Can I OVERLOAD the assignment operator? Please???
Message ID:
a05210612baf3d17ad460@[63.120.19.221]
At 8:52 PM -0400 5/22/03, John Peacock wrote:
>Dan Sugalski wrote:
>>
>>That's something I think you can't do, and arguably a bug. I'm 
>>pretty sure you can have tie magic, or overloading magic, but not 
>>both.
>
>So that is a vote in favor???  ;~)

Nope, vote against. :-P

What I'm in favor of is getting overloading and tying working 
together. I still think the two should remain separate, with 
assignment living in the tie part. I don't have the tuits to throw at 
it, unfortunately.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About