Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: "deinistall" DateTime

by bart (Canon)
on Oct 12, 2012 at 21:35 UTC ( [id://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/Selfupdate.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Attribute/Params/Vali +date.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/ValidatePP.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/Validate.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/ValidateXS.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/Validate/XS.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/Validate/PP.pm <<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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://998791]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found