logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [Module::Build] [PATCH] new_from_context() does not have to shell out t: msg#00104

Subject: Re: [Module::Build] [PATCH] new_from_context() does not have to shell out to run Build.PL
Ken Williams wrote:
It would be nice if we could just do(), but I think it's best to run Build.PL in a subprocess. For one thing, any modules Build.PL loads will be loaded the way it needs to load them. For another, any modifications it makes to the environment (@INC, etc.) will stay local to that run.

What about Safe.pm? It can load a file into an isolated compartment, execute it, and then remove all traces, and it prevents cross-contamination of data.

corelist Safe
=> Safe  was first released with perl 5.00307



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/


<Prev in Thread] Current Thread [Next in Thread>