Re: User-defined quoting operators

2000-08-27 Thread Damian Conway
>THING =~ OTHER_THING > > is translated to > >bind(THING,OTHER_THING) > > with bind() having user-defined semantics. > > I think Damian has an RFC in-the-works on operator overloading that > will address this. That one's been passed to brian d foy and (if

Re: User-defined quoting operators

2000-08-25 Thread John Porter
Jonathan Scott Duff wrote: > > We just need a > way to overload the binding operator (I didn't see it mentioned in > a quick skim of overload.pm) so that > > THING =~ OTHER_THING > > is translated to > > bind(THING,OTHER_THING) > > with bind() having user-defined semantics. Not

Re: User-defined quoting operators

2000-08-25 Thread Jonathan Scott Duff
On Thu, Aug 24, 2000 at 10:59:07PM -0700, Peter Scott wrote: > So what about the possibility of user-defined q[a-z]// (using a letter that > hadn't already been taken), where you get to specify the actions of =~ and > probably more operators? Sounds like it has a lot in common with operator >

Re: User-defined quoting operators

2000-08-25 Thread John Porter
Peter Scott wrote: > > So what about the possibility of user-defined q[a-z]// (using a letter that > hadn't already been taken), where you get to specify the actions of =~ and > probably more operators? Sounds like it has a lot in common with operator > overloading - maybe even just an extens