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

Re: "deinistall" DateTime

by bart (Canon)
on Oct 12, 2012 at 21:35 UTC ( #998791=note: print w/replies, xml ) Need Help??

in reply to "deinistall" DateTime

You tried to install DateTime, but some test failed, so it wasn't installed. No need to uninstall it.

Replies are listed 'Best First'.
Re^2: "deinistall" DateTime
by dhofmeister (Initiate) on Oct 12, 2012 at 22:21 UTC
    yes, i know it didn't install. however when i run my nifty script to see what modules are installed (like i said before it's based on File::Find) it looks like it is installed:
    what_perl_modules |grep -i date /usr/local/lib/perl5/5.10.1/CPANPLUS/ /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Attribute/Params/Vali /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/ /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/ /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/ /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/Validate/ /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/Validate/ <<snip>>

    is it enough to just purge files?

      If you want to uninstall all of the dependencies that got installed when you tried to install DateTime, then yes, you just delete the files that were installed. Just be careful not to delete anything that existed before you tried to install the library.

      Though IMO, I don't think it hurts to have a few extra libraries installed (unless you're talking Switch).

        There are some tricks one could use the see what modules are installed most recently.

        You can check the "ctime" of those module files. Unless you did something funky to your filesystem, this should be quite a reliable source for candidate modules to uninstall.

        And perldoc perllocal lists the contents of perllocal.pod, which ought to be updated with new module additions, including date of installation, with every installation using CPAN, and hopefully, with replacements of CPAN, too. (I think I recall that that PPM, (originally) ActiveState's alternative module installer for Windows, doesn't update it.)

        Simply rm'ing the DateTime/ subdirectory appears to have done the trick. Since the dependencies for DateTime seem to have installed ok, i didn't bother (nor want) to delete them.

        the version control suggestion is a good idea, imo. too bad it's not set up on my system :-)

      it looks like it is installed:

      No it doesn't, look again, Params::Validate is not DateTime

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998791]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2018-05-24 23:35 GMT
Find Nodes?
    Voting Booth?