Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: removing a perl mod thats been manually installed

by davido (Cardinal)
on Apr 30, 2014 at 06:27 UTC ( [id://1084438]=note: print w/replies, xml ) Need Help??


in reply to removing a perl mod thats been manually installed

Running Makefile.PL creates a Makefile that is executed by make. What make does is an automated, but complex process. To get some idea of what's going on behind the curtain, read the module's Makefile, while referring to ExtUtils::MakeMaker as a study guide. In the end, your module gets installed somewhere, and man pages get installed, along with the possibility of some other stuff getting installed here and there, depending on the distribution. My best guess in your case is that while you've managed to delete the module code, you may have left the man pages, and that's what is still showing up.

But I don't know for sure. What I do know is that uninstalling by hand something that an automated tool created can be messy and prone to missing something. This is why AnonymousMonk's suggestion for a tool from CPAN that can automate the process is a good one. However, it does require that you install another CPAN module. Perl's core utilities don't include a module uninstaller.


Dave

  • Comment on Re: removing a perl mod thats been manually installed

Replies are listed 'Best First'.
Re^2: removing a perl mod thats been manually installed
by Anonymous Monk on Apr 30, 2014 at 07:05 UTC

    Perl's core utilities don't include a module uninstaller.

    :) sure they do cpanp -u MODULE ... # uninstall module(s)

    Before that you could find the .packlist yourself and delete the files (or using ExtUtils::Installed)

    But apparently thats "very unsafe" because you don't know if another module claims the same files ... much ado about nothing IMHO, make the decision for yourself:) Uninstalling perl module - nntp.perl.org

    My research

      Thanks for the followup and setting the record straight. Worse than being wrong is propagating incorrect information, so the correction is appreciated.


      Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1084438]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-26 04:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found