Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: Private Module Repository

by zerohero (Monk)
on Feb 28, 2009 at 04:49 UTC ( #747085=note: print w/replies, xml ) Need Help??

in reply to Re: Private Module Repository
in thread Private Module Repository

Doesn't mcpani call CPAN::Inject when you do "mcpani --inject"? Looking over CPAN::Inject there really isn't much to it (it just updates the necessary files). Are you saying to write your own code based on CPAN::Inject?

Replies are listed 'Best First'.
Re^3: Private Module Repository
by CountZero (Bishop) on Feb 28, 2009 at 07:15 UTC
    From the CPAN::Inject docs:
    The initial use this module was created for was to inject tarballs into the CPAN sources directory for the reserved LOCAL user, so that they can be installed via the CPAN shell, with automated recursion to CPAN dependencies.
    Seems to be just as you requested.


    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      Right and I was using this through the mcpani tool which just calls it. I think the issues were less with the API call (which doesn't do too much) and more with the tools that use the calls as well as some of the fine details.

      The issue I had was not having to mirror CPAN, which seemed to be part and parcel of how the tools operated and every tutorial on the subject. I figured out how to get around this (note my prev response in this thread).

      There is a remaining issue which is cpanp needs the version number to do the install and it isn't clear why this is.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2021-05-17 18:53 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (159 votes). Check out past polls.