On Wed, Apr 28, 2004 at 01:35:25PM +0400, Sergey Skvortsov wrote:
> Hi.
> 
> Can I use:
> * IVX, NVX fields in AV
> * NVX field in HV
> for own purposes without any conflicts in the future?
> 
> (Like mg_private in struct magic and so on).

Given that you're asking about non-public parts of perl and their future
direction, perl-xs isn't really the correct place to ask this sort of
question. It's really a perl5-porters question.

As to the question, I suspect that the most reliable answer is "no"
(given that you specifically ask about the future)

We may find it very useful to use these slots for other things.
(We may be already - stashes and pads already do "interesting" things)
ponie isn't going to provide the unused slots on its arrays and hashes - it
will only support access via the existing routes, so it won't work there.

Surely user magic was provided for the purpose of hanging extra data from
perl structures? This is what you seem to be trying to do - why can't it do
what you need?

Nicholas Clark

Reply via email to