At 03:55 PM 6/12/2001 -0500, David L. Nicol wrote:
>We can't simply tie in the perl5 sense, because tiedness does not persist
>accross assignment. So we need to either modify Assignment to allow more
>than value to get assigned, or we need to pass around something -- a magic
>coderef, perhaps -- that can hold a deferred expression -- and define certain
>criteria that trigger the expedition of the deferred expressions.
You forgot option #3: have some set of perl variables that copy both the
contents and the type. So if you do this:
my Dog $random;
my $spike;
$spike = $spot;
then $spike is a Dog, at least until it isn't anymore.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk