For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > June 2007 > Re: Uninstalling a PERL module









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Uninstalling a PERL module
A_arya2000

2007-06-26, 9:59 pm

Thanks for the reply, actually when I tried installing
“only” module, my test was failing, later I figure
out its because of the "version" module that I have
installed in my system. That’s why I was trying to
uninstall the module and see how “only” module react.
Thank you all for your help.

--- oryann9 <oryann9@yahoo.com> wrote:

>
> --- a_arya2000 <a_arya2000@yahoo.com> wrote:
>
> Why would you want to do such a thing? Just take
> the
> path to this module out of @INC by editing your
> .profile and or PERL5LIB variable, unless you think
> its corrupt.
>
> perl -le 'print join("\n", @INC);'
>
> If you really want to remove this module do a backup
> first, tar cvf module.tar /path/to/module,
> then rm -rf /path/to/module
>
> Here is a script to see what is installed.
>
> ##-- Show me all installed Modules --##
> use File::Find 'find';
> use File::Spec::Functions;
>
> my $i=0;
> print "Your installed modules on $^O are:\n";
> print "-" x 38,"\n";
> find { wanted => sub { print ++$i, "\t$_\n" if
> /\.pm\z/ },
> no_chdir => 1},
> @INC;
>
> Hope that helps! :)
>
>
>
>

________________________________________
________________________________________
____
> Be a better Globetrotter. Get better travel answers
> from someone who knows. Yahoo! Answers - Check it
> out.
>

http://answers.yahoo.com/dir/?link=list&sid=396545469
>
> --
> To unsubscribe, e-mail:
> beginners-unsubscribe@perl.org
> For additional commands, e-mail:
> beginners-help@perl.org
> http://learn.perl.org/
>
>
>





________________________________________
________________________________________
____
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com