Joost has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing some XS module, and one of the lines I've got staring at me right now is:
That includes to output of "perl generate_includes" into the XS file. This might cause problems because it assumes that perl is in the current path and that the perl interpreter found is the one that is currenly used to compile to.INCLUDE: perl generate_includes |
I would rather use the interpreter that is used in the generated makefile (i.e. FULLPERL). Hints anyone?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting the current perl interpreter while processing XS
by rafl (Friar) on Sep 19, 2006 at 17:56 UTC | |
by Joost (Canon) on Sep 19, 2006 at 18:34 UTC |