On Tue, Aug 08, 2000 at 12:17:12PM -0800, Michael Fowler wrote:
> So, some method should be provided to avoid the stringification, akin to
> overload::StrVal().  Perhaps overload::StrVal is sufficient.

If we had a context coercion operator that was the opposite of want()
we could do something like this:

        print context '*STRING', $val;  # long-hand for print $val
        print context '*SCALAR', $val;  # we're not in a string context
        print context 'MyClass', $val;  # we're not in a string context

I imagine we'll want some sort of explicit coercion anyway, but I
haven't thought this through obviously.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to