On 5 Jun 2008, at 16:07, David Golden wrote:
I'd like to see if I can isolate that behavior separate from CPAN.pm.
Could you please try running the Makefile.PL manually through
CPAN::Reporter::record_command()?

$ perl -MCPAN::Reporter -e 'CPAN::Reporter::record_command("$^X Makefile.PL")'

[16:10] andy $ perl -MCPAN::Reporter -e 'CPAN::Reporter::record_command("$^X Makefile.PL")'
Install perl-reversion script? [N] y
<< hangs >>

Oh, and do you have "inactivity_timout" set in your CPAN::Config?  I
wonder if that's doing something.

    inactivity_timeout [0]


So please try the record_command again with a timeout:

 $ perl -MCPAN::Reporter -e 'CPAN::Reporter::record_command("$^X
Makefile.PL", 60)'


[16:12] andy $ perl -MCPAN::Reporter -e 'CPAN::Reporter::record_command("$^X Makefile.PL", 60)'
Install perl-reversion script? [N] y
<< 60 seconds pass >>
(perl Makefile.PL exited with 9)
[16:13] andy $ y
-bash: y: command not found

So Makefile.PL doesn't see the input at all - I guess it's not connected to STDIN for some reason.

--
Andy Armstrong, Hexten




Reply via email to