On Tue, 29 Aug 2000, Nathan Wiger wrote:

> David Nicol and I were brainstorming offline, and came up with a cool
> extension: ~=. These new operator would do a similar thing to =~ as
> described by the RFC, only LEFT padding the args:
>
>     $stuff =~ dojunk(@args);   # $stuff = dojunk(@args, $stuff);
>     $stuff ~= dojunk(@args);   # $stuff = dojunk($stuff, @args);
>
> The position of the ~ tells you how args are filled in: if it's on the
> left, then they're filled in to the left. If they're on the right, then
> they're filled in to the right. Quite flexible, IMO.

This would be bad for someone reading the code, as it would take
extra concentration to tell a "~=" from a "=~"; right now, a
"=" with a "~", I just know what it is, without having to determine
the order.

-- 
Matthew Cline        | Suppose you were an idiot.  And suppose that
[EMAIL PROTECTED] | you were a member of Congress.  But I repeat
                     | myself.  -- Mark Twain

Reply via email to