Package: perl-modules
Version: 5.12.4-4
Severity: normal
Tags: patch

Hi!

If you use cpan from Debian you usually wind up trying to read online
documentation through it. Unfortunately cpan can't find the
html2text.pl script eventhough it is installed using the Debian
package 'html2text'. 

Please see the attached patch for a quick fix of this issue.

Cheers,

Andreas Marschke.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages perl-modules depends on:
ii  perl                          5.12.4-4   Larry Wall's Practical Extraction 

Versions of packages perl-modules recommends:
ii  libclass-isa-perl             0.36-2     report the search path for a class
ii  libpod-plainer-perl           1.03-1     Perl extension for converting Pod 
ii  libswitch-perl                2.16-2     switch statement for Perl

perl-modules suggests no packages.

-- no debconf information
diff --git a/cpan/CPAN/lib/CPAN/Distribution.pm b/cpan/CPAN/lib/CPAN/Distribution.pm
index ac8f873..5147421 100644
--- a/cpan/CPAN/lib/CPAN/Distribution.pm
+++ b/cpan/CPAN/lib/CPAN/Distribution.pm
@@ -3572,7 +3572,7 @@ sub _display_url {
       if $CPAN::DEBUG;
 
     # should we define it in the config instead?
-    my $html_converter = "html2text.pl";
+    my $html_converter = "html2text";
 
     my $web_browser = $CPAN::Config->{'lynx'} || undef;
     my $web_browser_out = $web_browser

Reply via email to