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/
|