I'm using Expect to automate running the build process for some modules that ask for configuration info. This works well, but the module Mail::Sender has a funky setup where it runs a separate script called Config.PL, and this doesn't seem to be caught by Expect. Does anyone know a way to make Expect handle processes that the initial command spawns?
Here's some sample code for what I'm doing:
my $command =
Expect->spawn("perl Makefile.PL LIB=$dest_dir");