Hi,

There is no tool available to uninstall modules. However what you can do
manually is this.

I use Active Perl 5.10 on Windows.

1. Open the .packlist file in Perl/lib directory in any text editor. This
contains the path of all modules installed on your system (along with some
other entries as well).
2. Search module u want to remove in that file. (You will get the exact path
of all files related to the module).
3. Take the backup of all those files.
4. Navigate to the paths & remove files manually.
5. Check whether perl is working fine or not.
6. Remove the entry from .packlist

You can do the same with file equivalent to '.packlist' on 'LINUX' or
'UNIX'.

Hope this helps.

Thanks
Sanket Vaidya

-----Original Message-----
From: Randal L. Schwartz [mailto:mer...@stonehenge.com] 
Sent: Sunday, January 25, 2009 9:56 AM
To: beginners@perl.org
Subject: Re: Is there a way to un-install modules?

>>>>> "Bruce" == Bruce Ferrell <bferr...@baywinds.org> writes:

Bruce> I know this is going to sound odd, but I've installed some 
Bruce> modules using the CPAN module and I now want to uninstall them or 
Bruce> put them into a state where they are no longer detected.  Is there a
way to do this?

The key thing to remember is that CPAN and CPANPLUS are installers, not
packagers.  As such, they do not ensure that a file that they are installing
belongs exclusively to the thing being installed.  Thus, if you blindly
remove everything that had been installed during a particular run, you could
end up with a broken system.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional
commands, e-mail: beginners-h...@perl.org http://learn.perl.org/


_____________________________________________________________________ 

This e-mail message may contain proprietary, confidential or legally privileged 
information for the sole use of the person or entity to whom this message was 
originally addressed. Any review, e-transmission dissemination or other use of 
or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you have received 
this e-mail in error kindly delete this e-mail from your records. If it appears 
that this mail has been forwarded to you without proper authority, please 
notify us immediately at netad...@patni.com and delete this mail.
_____________________________________________________________________

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to