I have a Perl script that has two dependencies that exist in CPAN. What I\'d like to do is have the script itself prompt the user to install the necessary dependenc
You can probably just execute this from inside your script.
perl -MCPAN -e 'install MyModule::MyDepends'