good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: ExtUtils::ParseXS has changed (PREINIT:)by syphilis (Archbishop) |
on Aug 18, 2011 at 01:02 UTC ( [id://920826]=note: print w/replies, xml ) | Need Help?? |
The fact that it used to work is certainly an accident Ok - that makes good sense to me, and is one of the things I was hoping to establish. Then you can also replace "ST(1)" with "position" in the code. Some of us were wondering what this unused "position" argument was doing. Obviously it wasn't doing anything, but I think I start to understand a purpose for it. (Update: Duh !! It's just an arg that can now be accessed by its name instead of its position on the stack.) As I now understand it, it's *all* of the other variables (not just 'pos') that should be declared in PREINIT instead of CODE. I'll rewrite the file in accordance with tye's advice and give it a run. Many thanks to all respondents. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|