I'm getting my sea legs with perl -- -- winxp with ActiveState -- and today I would like to ask the monks a question about cpan. I do
cpan install stuff::thing
and get a bunch of output while the module attempts to install. Many lines of the output read something like
subroutine _STUFF redefined at /dir/dir/dir line 1234
Then scary messages like "no response from server, trying again." And in the end, everything works. At least, everything has worked so far.

But when my computer casually tells me that hundreds of functions are being redefined, I worry a bit. What's up with that? Am I being paranoid? Should I learn to love CPAN and not sweat the details?

Or should I back up my installation before every new grab from CPAN?

Here are more questions, while my cpan install grinds on, and my mind glazes over pondering the CPAN voodoo.

1) When should I use

make make test make install
and when should I use cpan install?

2) How long should I give CPAN install to succeed, before giving up? The error message I usually get many many many times, before it finally succeeds is usually

connecting to ftp.server.com logging in as anonymous, okay, okay, okay (skipped some stuff here) ..... ==> PORT ... Error in server response, closing control connection. Retrying.
3) My original question, are these "redefined function" actions of cpan dangerous?

Thanks for your wisdom!

thomas.

PS In this specific case it is log::log4perl, but this overall behavior is pretty constant with cpan, in my experience. PPS Here is my attempt at a google search to do my own research on the problem, but it didn't get me too far:

http://www.google.de/search?hl=de&q=cpan+%22error+in+server+response%22&btnG=Google-Suche&meta=


In reply to CPAN "install" redefines bunches of stuff. Should I worry? by tphyahoo

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.