Rietsch Thierry [[EMAIL PROTECTED]] quoth:
*>Hello
*>How can I deinstall a Modul, which I install before with CPAN?

You use ExtUtils::Installed to name the files and then delete them.

#!/usr/local/bin/perl
use ExtUtils::Installed;
my ($inst) = ExtUtils::Installed->new();
my $module = "Date::Christmas";

foreach my $found (sort($inst->files($module))) {

print "$found\n";

};

which would give you ...

/usr/local/lib/perl5/5.00503/man/man3/Date::Christmas.3
/usr/local/lib/perl5/site_perl/5.005/Date/Christmas.pm
/usr/local/lib/perl5/site_perl/5.005/auto/Date/Christmas/autosplit.ix

......

You can either delete them manually or programmatically. There is even an
example of exactly this task in the ExtUtils man page if I remember right.

enjoy :)

e.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to