On Fri, May 04, 2001 at 10:20:44PM +0100, Simon Cozens wrote:
> On Fri, May 04, 2001 at 08:14:47PM +1000, Damian Conway wrote:
> >     package DotsForArrows;
> >     use Filter::Simple;
> >     FILTER { s/\b\.(?=[a-z_\$({[])/->/gi };
> 
> That's BORING. Obviously the right way to do it is to allow lvalue
> overloaded operators, and overload "." for everything.

Leading, finally, to the much awaited DWIM operator, ...  :-)

dha

-- 
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
Note that reversing a cable at BOTH ends is likely to result in perfect
operation of the hardware, which is not the aim of this exercise.
   - "How to Destroy Your Computer", <http://www.dansdata.com/sbs3.htm>

Reply via email to