Simon Wistow (deflatermouse) wrote,
Simon Wistow

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.

Tags: apparently, butt load, cpan, depends, hasn, moan, par, paragraph, stuff, tests

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.