Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^3: CPAN - As Seen From Space!

by Anonymous Monk
on Dec 17, 2011 at 20:14 UTC ( #944112=note: print w/replies, xml ) Need Help??

in reply to Re^2: CPAN - As Seen From Space!
in thread CPAN - As Seen From Space!

Thanks, I have figured it out. Created source_data dir and put these files there:
01mailrc.txt.gz 02packages.details.txt.gz all_ratings.csv
Other things I had to change were minor, like lib path in the script and some nginx settings after they were written by puppet. Puppet also was unable to install 3 perl modules, which I then installed with cpan.

Replies are listed 'Best First'.
Re^4: CPAN - As Seen From Space!
by grantm (Parson) on Dec 18, 2011 at 05:26 UTC

    When the script is run with the --refresh-data option it will download the latest version of those files.

    My personal preference on Debian/Ubuntu systems is to never install modules directly from CPAN. I use dh-make-perl to download the tarball, and build a .deb e.g.:

    dh-make-perl --build --cpan Math::PlanePath

    The .deb package can then be installed with dpkg or dropped into a repo. For a small hobby project like this it could be seen as overkill (although it's actually quick and easy). For bigger work-related projects it's invaluable to know that the same module version is being installed in dev, staging and production (rather than getting the latest version when you do your production rollout and getting a nasty surprise).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://944112]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2019-02-20 03:50 GMT
Find Nodes?
    Voting Booth?
    I use postfix dereferencing ...

    Results (105 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!