I don't know why this changed between versions of Perl. However, my first reaction on seeing what you were doing (without knowing what the problems were) was "Oh, you should define your AUTOLOAD in Perl and have it dispatch to the XS code." And that would probably solve your problem.
The reason that I thought that was that I feel that you should write as much of your code as possible in Perl and as little as possible in C/XS. Code you write in C/XS is much more likely to break between versions of Perl, is usually quite a bit less robust (on things like tied or "magic" variables and often even on much simpler stuff), and is harder to write/read/understand/debug/extend/work-around/etc. than the equivalent Perl code.
- tye (but my friends call me "Tye")In reply to (tye)Re: Help: 5.6.1: XSUB and AUTOLOAD
by tye
in thread Help: 5.6.1: XSUB and AUTOLOAD
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |