How can I de-install a Perl module installed via `cpan`?

后端 未结 6 1393
清歌不尽
清歌不尽 2020-12-12 17:48

I am using Perl running in user space (not installed via root) and installing modules via the command-line cpan. I would like to know if there is a simple way t

6条回答
  •  一向
    一向 (楼主)
    2020-12-12 18:36

    1. Install App::cpanminus from CPAN (use: cpan App::cpanminus for this).
    2. Type cpanm --uninstall Module::Name (note the "m") to uninstall the module with cpanminus.

    This should work.

提交回复
热议问题