Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
     Oh wisest Monks, I come before you this evening seeking CPAN wisdom. I will offer a little background to my question before preceding. Recently during a local Perl Monger meeting, we discussed setting up a CPAN server to host our group modules and scripts. The idea was to gain experience creating modules and maintainable code (i.e. use MakeMaker or ModuleMaker, test suites, API design, etc.) for use in the local group before coding for and submitting to CPAN. We lovingly dubbed our idea NQCPAN (Not Quite CPAN).

     Idea in hand, I went in search of information. I searched PerlMonks, CPAN FAQ, Perl.com, Google, everywhere I could think to search. Without a clue as to where to look next, I sent an email to the CPAN folks describing the idea. The reply came quickly, referring me to CPAN::Site and Grokking the CPAN, a presentation given by Elaine Ashton at TPC 5. I read the presentation and quickly went to CPAN to get CPAN::Site. Once installed, I read every line of the CPAN::Site documentation (there is not a lot).

     Following the instructions, I set up a CPAN directory on my web server. I added an alias to apache and restarted; things were looking great. It was very exciting to see modules on the web. Next I set up my local machine to use CPAN::Site. Again, following the documentation for CPAN::Site, I modified my urllist to look to NQCPAN first. When I try to install or get modules from the NQCPAN server, I get the ever- present-when-mistyping-a-module-name error, no module found try i/module/. My first thoughts were that I set up something incorrectly. So, I recreated the site and tried again. Same problem. It then occurred to me that my CPAN index was cached and that I needed to reload it. So I tried reloading the index with reload index. The index did indeed reload, failing on my NQCPAN server as the main module list was not found, and locking in on the next server in the urllist. This was expected as normal CPAN modules should come from the real CPAN. However, the reload index did not pick up the modules from the NQCPAN server. Needless to say, I have not solved this problem. I have tried many different combinations, permissions, symbolic links, urllists, etc., all to no avail.

1. Has anyone else set up a local CPAN server (perhaps at work)?
2. If so, did you take the same approach or do something different?
3. What do the fellow Monks think of an NQCPAN for local groups to share code?

As always, Thank you very much for everything,
Casey

In reply to Not Quite CPAN by cmilfo

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found