On Thursday, February 27, 2003, at 02:07 AM, Philippe M. Chiasson wrote:

Or even potentially worst, if running in a C programm that embeds a Perl
interpreter (read mod_perl), the value $^X will be that program (read
httpd), most certainly not always what one wants ;-(

In fact, this had already occurred to me, for some reason. I put a comment about it in the M::B code. But so far it's not going to be a real problem, because most people don't build & install modules using an embedded perl. =)


The only places the $perl value is used in M::B are to run external scripts (like '$perl Build.PL; $perl Build; $perl Build test' in the 'disttest' action) and to verify that the user isn't running actions with a different perl than they ran 'perl Build.PL' with.

As I really try to keep any system() calls, including script-running, to an absolute minimum, M::B should probably work pretty well in embedded perls too.

-Ken

Reply via email to