From 634d0cd940e98e81f3a50e7431e64521bb308f82 Mon Sep 17 00:00:00 2001 From: Shantanu Wable <97496261+shxntanu@users.noreply.github.com> Date: Fri, 18 Oct 2024 23:51:46 +0530 Subject: [PATCH] cpan: add page (#14267) Co-authored-by: Wiktor Perskawiec --- pages/common/cpan.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/cpan.md diff --git a/pages/common/cpan.md b/pages/common/cpan.md new file mode 100644 index 0000000000..7afb047395 --- /dev/null +++ b/pages/common/cpan.md @@ -0,0 +1,20 @@ +# cpan + +> Query, download and build perl modules from CPAN sites. +> More information: . + +- Install a module (`-i` is optional): + +`cpan {{-i}} {{module_name}}` + +- Force install a module (`-i` is not optional): + +`cpan -fi {{module_name}}` + +- Upgrade all installed modules: + +`cpan -u` + +- Recompile modules: + +`cpan -r`