|
From: David N. <dno...@ya...> - 2007-06-23 05:34:09
|
Andy wrote: > In answer to your question about CPAN. Yes, it does have a very simple > update mechanism: > > perl -MCPAN -e "upgrade" This command didn't do anything on my system. It's possible all my CPAN modules are up to date, I guess. > As for install time ease, I understand your concerns - no one wants to > make life hard for inexperienced users. Below is an extract from my > history log during the install of MisterHouse. I had to install these > modules to get the current MH going. The HTTP/HTML modules are part of > the base install already. The commands below show the ease of > installation anyway. > > perl -MCPAN -e "install Net::Telnet" > perl -MCPAN -e "install Tk::JPEG" > perl -MCPAN -e "install Tk::CursorControl" > perl -MCPAN -e "install DB_File" > perl -MCPAN -e "install Term::ReadKey" We could include a script to do this. Does this work on Windows and Macs too? > Of course, I did break MH by removing the modules from mh/lib/site. > > QUESTION: How do we find out what was depending on the outdated > library?? AND why was the module put in mh/lib/site? I removed the HTML and HTTP directories on my system as well. All I had to do to get misterhouse running again was run: perl -MCPAN -e "install HTML::FormatText" > I found that "sub oscar::cb_imin" from "mh/lib/handy_net_utilities.pl" > had a single line of code depending on the old module. What docs do we > have to confirm that it is the only code relying on the outdated module? None :) > I would really like to add SMS::Send (for it's world-wide support of > carriers and that other developers are keeping the functionality up to > date via CPAN) to MH. I suggest that keeping HTML and HTTP up to date > with CPAN would probably be a good idea, but that breaks the Oscar > protocol code. There is an argument to "use" to specify a particular module version, but I haven't played with it. > Question: Does Oscar support actually work?? I have no idea. David |