Re: [Module::Build] problem with programmatic control of multiple builds
Status: Beta
Brought to you by:
kwilliams
From: Ray Z. <rz...@co...> - 2006-06-06 02:53:13
|
Thanks for the suggestions Ken & Randy. On Jun 3, 2006, at 1:14 PM, Ken Williams wrote: > As a workaround, you could probably do "delete $INC{"Module/Build/ > Base.pm"}; require Module::Build::Base;" each time through the loop. It turns out that I also need to do ... Symbol::delete_package('Module::Build::Base'); ... every time through the loop as well in order to avoid tons of "subroutine foo redefined ..." warnings. This *appears* to work, however, the comments in the "BUGS" section of the docs for Symbol make me uncomfortable with using this approach. Anyone with more experience care to give an opinion on whether I'm likely to get bitten using this approach? On Jun 5, 2006, at 2:40 AM, Randy W. Sims wrote: > This is an unfortunate artifact of the current implementation. > There are plans to fix this in the next iteration by moving > properties into their own object. Ah, nice ... looking forward to the next M::B iteration ... Ray |