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]
- RFC 48 (v2) Objects should have builtin stringifying Perl6 RFC Librarian
- Re: RFC 48 (v2) Objects should have builtin strin... Michael Mathews
- Re: RFC 48 (v2) Objects should have builtin s... Nathan Wiger
- Re: RFC 48 (v2) Objects should have builtin strin... Dan Sugalski
- Re: RFC 48 (v2) Objects should have builtin s... Nathan Torkington
- Re: RFC 48 (v2) Objects should have builtin strin... Michael Fowler
- Re: RFC 48 (v2) Objects should have builtin s... Jonathan Scott Duff
- Re: RFC 48 (v2) Objects should have built... John Porter
- Re: RFC 48 (v2) Objects should have b... Jonathan Scott Duff
- Re: RFC 48 (v2) Objects should h... John Porter
- Re: RFC 48 (v2) Objects should have builtin s... Nathan Wiger
- Re: RFC 48 (v2) Objects should have built... Dan Sugalski
- Re: RFC 48 (v2) Objects should have built... Michael Fowler
- Re: RFC 48 (v2) Objects should have b... John Porter
- Re: RFC 48 (v2) Objects should h... Dan Sugalski
- Re: RFC 48 (v2) Objects should h... Hildo Biersma
- Re: RFC 48 (v2) Objects shou... John Porter
