?

Log in

No account? Create an account

Mon, Feb. 21st, 2005, 12:00 pm
Local install tool

Apparently I'm the author or co-author of several of the most dependency heavy modules on CPAN. And you know what? I'm fine with that. Some people moan about tests failing but I say that's a good thing - I want to see that the tests fail at install time than just assume they work and then not be able to work out why the app isn't working after I've installed bu unzipping it in a directory.

Either way - sometimes I write stuff that hasn't been released on CPAN yet but has a butt load of dependencies. And this is a pain in the neck because even if I do a make dist then neither cpan or cpanp can do

    install file://My-New-Module-0.1.tar.gz

and automatically follow all the dependencies.

So, I'm pondering using Module::Depends, Module::CoreList, Archive::Extract and CPANPLUS together to just having something that will do

    % cpan-local My-New-Module-0.1.tar.gz

and it will Just Work.

Or, on second thoughts, I could just PAR everything up to satisfy the people in the first paragraph.