ranciid has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I have searched this forum and found that to uninstall a perl module to simply use "cpanp u Module::Name"

I would like to uninstall the Net::sftp module which can be found in "C:\Perl\site\lib\Net\SFTP"

When I used "cpanp u net::sftp", nothing seemed to happen. I can still see this directory and all the files in it.

How can I effective remove/unintall the module?

Thanks !

Replies are listed 'Best First'.
Re: Uninstalling Perl modules
by ranciid (Novice) on Feb 04, 2010 at 03:14 UTC
    Hi all,

    I found a way to remove/uninstall the modules.

    Simply run the (graphical) PPM, mark the module for removal then run it.

    The directories are also removed at the same time.

    Issue resolved !

      Simply run the (graphical) PPM, mark the module for removal then run it

      I think that, from the command line, ppm remove module should work just as well. (It may need 'force' if 'module' is a pre-requisite for another module.)

      Cheers,
      Rob
Re: Uninstalling Perl modules
by Mr. Muskrat (Canon) on Feb 04, 2010 at 16:52 UTC

    Module names are case sensitive.

    cpanp u Net::SFTP