perltapperl-prove

unable to run perl prove with --debug option


I tried to run prove with -d option, but got error:

Cannot detect source of '-d'! at /usr/coderyte/lib/perl5/5.8.8/TAP
/Parser/IteratorFactory.pm line 263

now 'man prove' does not show the -d switch available, but http://perldoc.perl.org/5.8.8/prove.html

clearly shows --debug

Is that a documentation error, or a prove issue ? Is there a way, i can use -debug with prove ? I am using:

$prove -V
TAP::Harness v3.28 and Perl v5.8.8

Solution

  • The --debug option was removed from prove in 2007. The version of prove originally shipped with Perl 5.8.8 had one, but you've since installed a newer version (from Test-Harness 3.28).

    Why do you think you need to use -d? Are you looking for the --verbose (or -v) option?