Unfortunately, I see a problem with what you have here.
Thanks for your concern but there is no problem.
This service will not install modules in system perl (unless
modified to use sudo, etc). This service simply
copies the name of a selected module and pastes it to your preferred
CPAN client. If you're using perlbrew, as is recommended, the module
installs in whatever perl is in use at the time (just like shell).
STOP REINVENTING WHEELS ⚛ START BUILDING SPACE ROCKETS!—CPAN 🐪