I have recently started some Perl development and use CPAN to install all my packages. I was wondering if there are some "best practices" to manage required packages for a script or application. So far, I'm doing it the inelegant and cumbersome way. I have a script which looks like this :
install Foo::Bar
install Zulu::Car
...
and then I do
$perl -MCPAN -e shell < mycpan.foo