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

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I think that when you install a module, it stores the list of files it installs, somewhere in a text file. I forgot what it's called and I'm presently not at a computer where I can check. Sorry.

But to uninstall, just delete each file listed in the file. Except... if the installation replaced an older version of the same module, and I mean physically replace: placing the files on top of the old ones, well this will obviously not restore the old files.

I think you're then better off installing the old module over the new one, or at least have the archive ready in case it's an essential module to even be able to run, so you can install them just using make and perl. Or install at a new location, delete the old files, and move the new files in place. Something like that.

Yes a process like this should be automated, IMO.

update I looked: the text file with the file listing is called ".packlist", and it resides somewhere under the "auto" root, in the module root where it's installed. For example, if the module is "Test::Pod" which is installed in "site/lib", then this file ought to be at "site/lib/auto/Test/Pod/.packlist".

In reply to Re^3: help managing modules using by bart
in thread help managing modules using by j3

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    [LanX]: yeah, we just had a discussion at work that SciFi in the 70s had more inovation
    [LanX]: (movies)
    [Your Mother]: Real ideas. Ideas grounded in reality as well.
    [LanX]: still some good newer ones. Oblivion had a great design, Moon was well acted
    [Your Mother]: Moon was mind bending and lovely and what's his nose Sam is *always* fun.
    [LanX]: the new BS Galactica series is my all time SoapFiction favourite ...
    [Your Mother]: I even liked "The Arrival" and I generally hate time travel (oriented) stuff.
    [Your Mother]: Gotta go. Stay out of trouble.
    [LanX]: no worries ... mainland Europe is safe ;-P
    [LanX]: ??? (probably my English is to limited)

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (10)
    As of 2018-03-19 15:10 GMT
    Find Nodes?
      Voting Booth?
      When I think of a mole I think of:

      Results (240 votes). Check out past polls.