http://www.perlmonks.org?node_id=625791


in reply to Hacking Packages

I am trying to make my packages "clickable" so I can install them before running the script.

In which sense "clickable"? Generally packages are not "cliackable" and this does not have anything to do with installation. Which Perl distro are you using? Under which OS? You may set up a file association thingie for Perl packages to work on click under some file manager thingie and do something useful, but I've never heard anyone having such a need nor do I see it as a particularly useful "feature".

Also, you say "my packages", but the one that appears to be missing is a CPAN one, namely Sub::Multi (unless you rewrote it yourself) thus you'd better install it by means of your distro's specific package management tool, most probably either CPAN.pm or ppm.

My editor doesn't allow me to click on them.

I have no notion of how an editor would allow one to click on a package. What do you mean exactly?

So basically my problem is that I cannot click on the packages to install them hence the script fails.

XY problem I guess: check the tutorials for Modules: How to Create, Install, and Use.