Hi,

I'm using Ubuntu myself and I'm new at Perl so I'm not able to comment on the 'cleaning up' process but I can make two observations.

Debian has a perlmodule naming system that tries to match (after a fashion) the module names, by sticking a lib in front of the it. e.g. DBD::mysql is libdbd-mysql-perl

Apt-cache search searches your repositories and you can use this to find what modules are available, e.g.

apt-cache search libdbi

outputs the following and has allowed me to guess at the modules I needed

libdbi-perl - Perl5 database interface by Tim Bunce libdbd-freetds - Freetds database server driver for libdbi libdbd-mysql - MySQL database server driver for libdbi libdbd-pgsql - PostgreSQL database server driver for libdbi libdbd-sqlite - SQLite database driver for libdbi libdbd-sqlite3 - SQLite3 database driver for libdbi libdbi-doc - DB Independent Abstraction Layer for C -- documentation libdbi-ruby - Database Independent Interface for Ruby libdbi-ruby1.8 - Database Independent Interface for Ruby 1.8 libdbi0 - Database Independent Abstraction Layer for C libdbi0-dev - DB Independent Abstraction Layer for C -- development f +iles libdbicx-testdatabase-perl - Create a temporary database from a DBIx:: +Class::Schema libdbix-abstract-perl - DBI SQL abstraction libdbix-class-datetime-epoch-perl - Automatic inflation/deflation of e +poch-based DateTime objects for DBIx::Class libdbix-class-htmlwidget-perl - Like FromForm but with DBIx::Class and + HTML::Widget libdbix-class-perl - Extensible and flexible object <-> relational map +per libdbix-class-schema-loader-perl - Dynamic definition of a DBIx::Class +::Schema libdbix-contextualfetch-perl - Add context aware fetches to DBI libdbix-datasource-perl - Database-independent create and drop functio +ns libdbix-dbschema-perl - Database-independent schema objects libdbix-easy-perl - Easy to Use DBI Interface libdbix-fulltextsearch-perl - Indexing documents with MySQL as storage libdbix-password-perl - Perl module for creating a global password fil +e for DB passwords libdbix-profile-perl - DBI query profiler libdbix-recordset-perl - Perl extension for DBI recordsets libdbix-searchbuilder-perl - Encapsulate SQL queries and rows in simpl +e perl objects libdbix-sequence-perl - A simple SQL92 ID generator libdbix-xml-rdb-perl - perl module for creating XML from a DBI datasou +rce libdbix-xmlmessage-perl - perl module for exchanging XML messages betw +een DBI data sources

The debian team do say if you can't find ask and they'll build. I'm starting to think I might 'roll my own' and learn the CPAN way, but was going to discuss it on Perlmonks first.

As I say, I'm a noob and I had similar issues re modules but feel free to disregard my comments and definitely pay attention to what others suggest here (especially if it contradicts what I've said - chances are it's me that's in error).

I've had this node pointed out to me by Elisheva : http://www.perlmonks.org/?node_id=753416 it discusses debian/CPAN in detail


In reply to Re: Perl modules confusion by stevemayes
in thread Perl modules confusion by umeboshi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.