Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: "deinistall" DateTime

by dhofmeister (Initiate)
on Oct 12, 2012 at 22:21 UTC ( #998798=note: print w/replies, xml ) Need Help??


in reply to Re: "deinistall" DateTime
in thread "deinistall" DateTime

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?

Replies are listed 'Best First'.
Re^3: "deinistall" DateTime
by runrig (Abbot) on Oct 12, 2012 at 22:41 UTC

    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.)

        (I think I recall that that PPM, (originally) ActiveState's alternative module installer for Windows, doesn't update it.)

        I do recall that PPM keeps track itself, in a ppm.xml somewhere in @INC

      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 :-)

Re^3: "deinistall" DateTime
by Anonymous Monk on Oct 12, 2012 at 22:35 UTC

    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
Node Status?
node history
Node Type: note [id://998798]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2018-06-23 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (125 votes). Check out past polls.

    Notices?