On Mon, Aug 07, 2000 at 03:35:25PM -0400, John Porter wrote:
> Hildo Biersma wrote:
> > Having said that, it doesn't need to live in the core - and even today
> > it should be relatively easy to write an XS module for this.
> 
> It should no more NOT live in the core than, say, scalar() (or whatever
> scalar() might become in 6).

Is someone proposing to morph scalar() into something else?  I hadn't
thought of it though it does sort-of make sense to have a "casting"
operator if we're going to have want().

        my $obj = cast 'Dog', give_me_an_animal();
        print cast '*SCALAR', give_me_an_animal();

okay ... that's a bad example and I don't have any good ones.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to