r18301 - in /trunk/libxml-sax-perl/debian: changelog libxml-sax-perl.README.Debian

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Fri Apr 4 13:11:12 UTC 2008


Author: ntyni
Date: Fri Apr  4 13:05:35 2008
New Revision: 18301

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18301
Log:
README.Debian: replace a broken link to the CPAN FAQ entry about uninstalling CPAN modules with its intended content. (Closes: #469958)

Modified:
    trunk/libxml-sax-perl/debian/changelog
    trunk/libxml-sax-perl/debian/libxml-sax-perl.README.Debian

Modified: trunk/libxml-sax-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-perl/debian/changelog?rev=18301&op=diff
==============================================================================
--- trunk/libxml-sax-perl/debian/changelog (original)
+++ trunk/libxml-sax-perl/debian/changelog Fri Apr  4 13:05:35 2008
@@ -1,3 +1,10 @@
+libxml-sax-perl (0.16+dfsg-3) unstable; urgency=low
+
+  * README.Debian: replace a broken link to the CPAN FAQ entry about
+    uninstalling CPAN modules with its intended content. (Closes: #469958)
+
+ -- Niko Tyni <ntyni at debian.org>  Fri, 04 Apr 2008 16:00:12 +0300
+
 libxml-sax-perl (0.16+dfsg-2) unstable; urgency=low
 
   * Remove the XS-DM-Upload-Allowed control field: I'm a DD now.

Modified: trunk/libxml-sax-perl/debian/libxml-sax-perl.README.Debian
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-perl/debian/libxml-sax-perl.README.Debian?rev=18301&op=diff
==============================================================================
--- trunk/libxml-sax-perl/debian/libxml-sax-perl.README.Debian (original)
+++ trunk/libxml-sax-perl/debian/libxml-sax-perl.README.Debian Fri Apr  4 13:05:35 2008
@@ -176,11 +176,28 @@
 the Debian package and wait for the update.
 
 If it's too late and you already have another version of XML::SAX in
-/usr/local shadowing the Debian one, a simple way to uninstalling it is
-given in the CPAN FAQ:
-
- http://www.cpan.org/misc/cpan-faq.html#How_delete_Perl_modules
+/usr/local shadowing the Debian one, this entry from an old version 
+of the CPAN FAQ (that has apparently been removed since) may be helpful:
+
+  How do I remove installed Perl modules?
+   By using the ExtUtils::Installed and ExtUtils::Packlist modules that
+   come with Perl as in the example below. There is also a more elaborate
+   example in the ExtUtils::Packlist man page.
+  
+  #!/usr/local/bin/perl -w
+  use ExtUtils::Packlist;
+  use ExtUtils::Installed;
+  $ARGV[0] or die "Usage: $0 Module::Name\n";
+  my $mod = $ARGV[0];
+  my $inst = ExtUtils::Installed->new();
+  foreach my $item (sort($inst->files($mod))) {
+      print "removing $item\n";
+      unlink $item;
+  }
+  my $packfile = $inst->packlist($mod)->packlist_file();
+  print "removing $packfile\n";
+  unlink $packfile; 
 
 This text was originally written by Ardo van Rangelrooij <ardo at debian.org>.
 
--- Niko Tyni <ntyni at iki.fi> Thu, 08 Nov 2007 00:54:30 +0200
+-- Niko Tyni <ntyni at iki.fi> Fri, 04 Apr 2008 15:57:01 +0300




More information about the Pkg-perl-cvs-commits mailing list