Go Back   Garayed.com > Perl
Reply
 
LinkBack Thread Tools Search this Thread Display Modes

Re: Math not working
  #11 (permalink)  
Old 02-10-2010, 03:17 AM
Ilya Zakharevich
 
Posts: n/a
Default Re: Math not working

On 2010-02-09, Ben Morrow <ben@morrow.me.uk> wrote:
>> > Would you agree with me that new overload types
>> > *must* default to falling back


>> How would "new" types be different from the "old" ones? The problem
>> existed back then; what changed?


> What changed is that there are now published classes that use some
> overloading, don't specify fallback, and don't overload the new type.
> Take for example the new "qr" overload. Under 5.10 and earlier, treating
> an object as a regex would invoke the stringify overload, so 5.12 must
> continue to do so for objects that don't have a qr overload *even* if
> fallback was not requested.


Hmm, I deduce that under "overload types" you meant "overloaded
operation"? If, yes, of course...

Ilya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Math not working
  #12 (permalink)  
Old 02-10-2010, 11:18 AM
Ben Morrow
 
Posts: n/a
Default Re: Math not working


Quoth Ilya Zakharevich <nospam-abuse@ilyaz.org>:
> On 2010-02-09, Ben Morrow <ben@morrow.me.uk> wrote:
> >> > Would you agree with me that new overload types
> >> > *must* default to falling back

>
> >> How would "new" types be different from the "old" ones? The problem
> >> existed back then; what changed?

>
> > What changed is that there are now published classes that use some
> > overloading, don't specify fallback, and don't overload the new type.
> > Take for example the new "qr" overload. Under 5.10 and earlier, treating
> > an object as a regex would invoke the stringify overload, so 5.12 must
> > continue to do so for objects that don't have a qr overload *even* if
> > fallback was not requested.

>
> Hmm, I deduce that under "overload types" you meant "overloaded
> operation"? If, yes, of course...


Yes, sorry, it was a poor choice of word. 'Type of overload' rather than
'type' as in 'class'.

Ben

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:31 AM.


Powered by vBulletin® Version 3.5.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
| Home | FAQ | Members List | Calendar | Today's Posts | Search | New Posts |