I have a user directory with CPAN modules and I want to have a script that will upgrade all of the to their latest release.
Note: it should be executable by any user not only root.
What is the proper command to do this?
I know that cpan -r
should upgrade CPAN modules but I want to force it to do this only for those installed in this specific directory.