At 01:46 PM 9/18/00 -0400, Michael G Schwern wrote:
>On Mon, Sep 18, 2000 at 04:04:56PM +0100, Simon Cozens wrote:
> > On Mon, Sep 18, 2000 at 10:51:52AM -0400, John Porter wrote:
> > > I would think that if it could be done at all,
> > > it would only be in extension (formerly XS) code.
> >
> > Why? I don't want to go to C just to add a flag to a variable. That
> smacks of
> > making easy things hard and hard things impossible. You'll note that that
> > isn't the motto of Perl.
>
>I'll have to go with John here. Mucking about with variable attribute
>flags (with the exceptions of the fixed set which have been proposed)
>falls firmly into the "hard but possible" realm of things. It should
>be done in XS code.
Very little should require XS code (or its equivalent) in perl 6. Far less
than what we've got now, if we're lucky.
>Also, just being able to tack flags onto a variable means each
>variable (that has a flag) would have to carry around a hash!
No it doesn't. The core interpreter will know what these attributes are, so
they have to be fetchable *somehow*...
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk