This might help make removing a module easier. I stole it somewhere online
awhile back (I don't remember where?) so no credit here. Save it as
something.pl and run `perl something.pl Sys::MemInfo`.. substitute in your
full path to perl if needed.

#!/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;



On 20/10/2008, at 9:48 AM, James Brown wrote:

> Hello all.
>
> I installed Sys::MemInfo using cpan. I then restarted ASSP (2.0.0  
> 6.18). It said that Sys::MemInfo was not installed.
>
> Background info: I have to start ASSP using '/usr/local/bin/ 
> perl5.8.8', not just 'perl'.
>
> Anyway, perl5.8.8 keeps crashing, so I have to keep restarting ASSP  
> to get mail flowing.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to