You could very easily use the ExtUtils::MakeMaker system to establish dependencies for your core script, then using the CPAN module(s) to install your app will automatically retrieve and build dependencies.
<-radiant.matrix->
Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P)
The Code that can be seen is not the true Code "In any sufficiently large group of people, most are idiots" - Kaa's Law