On Fri, 30 May 2003, Ben Bennett wrote: > This class allows you to wrap an arbitrary object and provide > stringification and numification methods while changing the interface > to the object as little as possible.
Have you taken a look at Class::Decorator on CPAN? What you've implemented is more or less the decoration pattern, but specifically oriented at overloading. I'd suggest either offering a patch to Class::Decorator to allow for overloading or to implement a Class::Decorator::Overload module that uses Class::Decorator and adds overloading, if the author doesn't accept your patch. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
