To the knowledgeable all

from: A confused, stuck prole.

As part of a (self-interest) project, I read in a spreadsheet using Spreadsheet::ReadSXC, downloaded and installed from CPAN - historical reasons for the choice, but not relevant to my query here.

As part of the code sequence, that specific module raised 4 warnings about an uninitialised variable in its operation when a open my source (LibreOffice)spreadsheet. So, muggins here decides to add a print statement to the ReadSXC.pm module held in the perl site library on my laptop, to try and find out what is causing the problem. I did the edit and re-saved the module in the file structure. However, when I now run my project I get the error "Spreadsheet::ReadSXC not installed at ...". So, and this is the crux of my query, - am I not permitted to edit any perl module on my own machine? What is it that 'knows' that the module is not as originally installed and HOW does it know? I haven't changed any version number or any other identifying information in the module. Is it fixable - ie without downloading and re-installing the CPAN source, which will just get me back to my original, observed situation? When I do a CPAN -l, the module is listed as 'undef' if that helps any. I'm afraid I know nothing about any of the Perl 'admin' operational 'structure' so any guidance would be most welcome on this matter.


In reply to editing of installed modules, a story of failure by gsd4me

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.