On Wednesday 20 September 2006 07:53, demerphq wrote:

> On 9/20/06, Smylers <[EMAIL PROTECTED]> wrote:

> > If you get a reference to a blessed object and that object has
> > overloaded stringification then please just treat it as a string, not a
> > reference.

> You of course are aware of what a pain it is to apply this logic?

Multi-dispatch or, as Jonathan suggested, named parameters really seem like 
the way to go.  Rolling your own dispatch checker (or worse, using ref() or 
even Scalar::Util::blessed() without a really good reason) is a code smell to 
me.

-- c

Reply via email to