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 extension to overload.pm?

This is essentially the gist of RFC139, except that it would allow
any user-defined function to be called with that syntax:

    for (
        $dbh =~ submit/
            SELECT * FROM s_emp            # select them
            WHERE empno IN (101, 343, 573) # just these
        /gx
    ) {

or whatever.

-- 
John Porter

        We're building the house of the future together.

Reply via email to