Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: upgrading Tk && CPAN.pm

by repson (Chaplain)
on Mar 12, 2001 at 13:11 UTC ( [id://63783]=note: print w/replies, xml ) Need Help??


in reply to upgrading Tk && CPAN.pm

The option UNINST=1 is mentioned (but not defaulted) during initial cpan configuration. This option removes any other copies of the modules that exist in any of the multiple valid directories modules can be installed in. The option is probably safe to turn on permenantly in most situations.

To update it just type on the cpan prompt:
cpan> o conf make_install_arg UNINST=1
This will pass it to make from that point onwards.

Replies are listed 'Best First'.
Re: Re: upgrading Tk && CPAN.pm
by Jouke (Curate) on Mar 12, 2001 at 13:15 UTC
    Ah. So it is possible to configure the CPAN shell to automagically update it. But shouldn't this just be 'normal behaviour'? When I have a package installed and I want to reinstall or update the package, doesn't it seem logical to replace updated files? To me it sounds more logical than keeping old files and adding new ones. In that case you have a mixed environment of old and new files, and something tells me that is not what most people would want.

    Jouke Visser, Perl 'Adept'
      Just my to cents comment :

      But shouldn't this just be 'normal behaviour'? When I have a package installed and I want to reinstall or update the package, doesn't it seem logical to replace updated files?

      I think that a 'normal behaviour' may change with another person opinion.

      Some people may want to install a new module and keep a previous version (for testing pupose).
      Some people even find it normal to have a Perl 5.6 WITH a previous perl version.


      "Trying to be a SMART lamer" (thanx to Merlyn ;-)
        True, but I'm talking about mixing module versions. In my case I had 800.022 stuff AND 800.014 stuff in the same directory. In case of installing 5.6 and other versions on the same machine you just choose which version you want to use with your script. I had no choice. I think that's unwanted behaviour...but you're right that
        I think that a 'normal behaviour' may change with another person opinion.

        Jouke Visser, Perl 'Adept'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-26 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found