Jan Dubois wrote: >It will be very hard to get the core to call FETCH only once per >"logical access" to a variable, and it will be *impossible* to get this >right for most CPAN modules containing XS code. What *is* a "logical access", anyway? I generally don't attempt to do magic processing at all in my XS code, pending some way to get the "logical access" thing consistent between XS and Perl implementations of the same thing. (Prime example: XML::Easy.) Something implemented in Perl is likely to process get magic several times in one sub call, which leaks internal implementation details if the magic isn't idempotent. -zeframThread Previous | Thread Next