Distribution installer that defaults to Debian?

Joel Roth joelz at pobox.com
Sun Dec 19 23:36:26 UTC 2010


Hi all,

I often find myself going through the same ritual
when installing a new module, say Something::Great

Do I have it already?

    perl -MSomething::Great -e 1

Does Debian have it?

    apt-cache search libsomething-great-perl

If Debian has it, I install with apt-get, if not,
I install with a CPAN client (these days cpanm)
into a local::lib.

Is anyone aware of some tool that does this?  Otherwise I might
write a simple script.

Best,

Joel

-- 
Joel Roth



More information about the pkg-perl-maintainers mailing list