On 5 Jun 2008, at 12:44, David Golden wrote:
Is that something you know about or is it just me?

That's a new one to me.  Can you give me examples of modules?  Because
CPAN::Reporter captures output by piping to tee, I could imagine that
some modules might do odd things if they are looking for a terminal on
STDOUT.

Hmm. Subjectively it seemed to be absolutely anything that asked a question, so for example:

cpan[1]> o conf test_report 1
    test_report        [1]
Please use 'o conf commit' to make the config permanent!


cpan[2]> force install Perl::Version
CPAN: Storable loaded ok (v2.18)
Going to read /Users/andy/.cpan/Metadata
  Database was generated on Mon, 12 May 2008 05:29:57 GMT
Running install for module 'Perl::Version'
Running make for H/HD/HDP/Perl-Version-1.007.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.01)
Checksum for /Users/andy/.cpan/sources/authors/id/H/HD/HDP/Perl- Version-1.007.tar.gz ok
Scanning cache /Users/andy/.cpan/build for sizes
............................................................................DONE
Perl-Version-1.007/
Perl-Version-1.007/t/
Perl-Version-1.007/t/pod.t
Perl-Version-1.007/t/30.vstring.t
Perl-Version-1.007/t/40.perl-reversion.t
Perl-Version-1.007/t/05.misc.t
Perl-Version-1.007/t/00.load.t
Perl-Version-1.007/t/20.compare.t
Perl-Version-1.007/t/pod-coverage.t
Perl-Version-1.007/t/10.regression.t
Perl-Version-1.007/lib/
Perl-Version-1.007/lib/Perl/
Perl-Version-1.007/lib/Perl/Version.pm
Perl-Version-1.007/SIGNATURE
Perl-Version-1.007/README
Perl-Version-1.007/Changes
Perl-Version-1.007/Makefile.PL
Perl-Version-1.007/META.yml
Perl-Version-1.007/examples/
Perl-Version-1.007/examples/perl-reversion
Perl-Version-1.007/Notes.txt
Perl-Version-1.007/MANIFEST
CPAN: File::Temp loaded ok (v0.20)
CPAN: YAML loaded ok (v0.66)

  CPAN.pm: Going to build H/HD/HDP/Perl-Version-1.007.tar.gz

CPAN: CPAN::Reporter loaded ok (v1.13)
Install perl-reversion script? [N] y

<<< hangs here >>>

That's just the first module that asks a question that came to mind. I've just tried it on Mac OS / 5.10 and Ubuntu / 5.8.8 with the same results on both.

To be honest I assumed it was such an obvious problem that you'd know about it :)

--
Andy Armstrong, Hexten




Reply via email to