develooper Front page | perl.ithreads | Postings from August 2002

Re: Thread-Tie-0.01

Thread Previous | Thread Next
From:
Elizabeth Mattijsen
Date:
August 10, 2002 14:36
Subject:
Re: Thread-Tie-0.01
Message ID:
4.2.0.58.20020810233420.02b718a0@mickey.dijkmat.nl
At 11:29 PM 8/10/02 +0200, Arthur Bergman wrote:
>>Hmmm... thinking some more about this.  Why _is_ the FETCHed value of a 
>>tied variable saved locally?  How would any internal (XS) module know 
>>whether it would be ok to use the saved value or to do a FETCH again?
>>
>>Would it not make even more sense to change this behaviour of tied variables?
>Because that is how tied/magic works, the internals/XS doesn't know it is 
>tied, they use it as a ordinary  variable, but before they use it perl 
>automatically gets get_magic on the value which can set the variable to 
>something.

I guess ours is not to reason why...   ;-)


>Changing this would be good, how it is to be done I don't know, my idea is 
>to use PMCs but maybe this is unfixable for perl.
>OTOH, Nothing is impossible, it is SMOP.

Simple Matter Of Perseverance?


Liz


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About