Re: Help! Strings -> Numbers

[email protected] ("Tanton Gibbs") Thu, 21 Nov 2002 12:56:40 -0500
Newsgroups perl.perl6.documentation
Message-ID <061b01c29187$58419260$3bd02143@brooklyn>
> If I'm understanding them correctly, another way to think of runtime
> properties is "dynamic inheritance", or more specifically
> "instance-based inheritance".  When you say:
>
>     $v but foo(5);
>
> You're saying that instance/value $v now inherits the behaviors of
> foo(5), in addition to it's normal behavior.  Well, sortof.

Just for completeness...I propose a new "except when" operator...

then we could have:

$x is true except when false;
$y is num except when not;

We could provide a whole host of variables that had properties except when
you didn't want them.

;) -- just kidding
Tanton