Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Getting the current perl interpreter while processing XS

by rafl (Friar)
on Sep 19, 2006 at 17:56 UTC ( #573782=note: print w/ replies, xml ) Need Help??


in reply to Getting the current perl interpreter while processing XS

Both xsubpp and ExtUtils::ParseXS pass the argument to INCLUDE directly to open() without preprocessing it. You could either preprocess your .xs file from Makefile.PL and fill in the path to the perl executable or you could probably use ExtUtils::ParseXS to write your own xsubpp which uses an overwritten open() function to do something special if it gets something like "$(PERLRUN) script.pl".

Cheers, Flo


Comment on Re: Getting the current perl interpreter while processing XS
Re^2: Getting the current perl interpreter while processing XS
by Joost (Canon) on Sep 19, 2006 at 18:34 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://573782]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (15)
As of 2014-07-29 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (227 votes), past polls