Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-WebMail-UserID: pjacklam AT online DOT no Date: Fri, 14 Nov 2003 13:32:10 +0100 From: "Peter J. Acklam" To: cygwin X-EXP32-SerialNo: 50000140 Subject: RE: Perl CPAN module help Message-ID: <3FB6CC3F@epostleser.online.no> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Patrick Eisenacher wrote: > >man CPAN has this to offer: > ># list all modules on my disk that have newer versions on CPAN >for $mod (CPAN::Shell->expand("Module","/./")){ > next unless $mod->inst_file; > next if $mod->uptodate; > printf "Module %s is installed as %s, could be updated to %s from C >PAN\n", $mod->id, $mod->inst_version, $mod->cpan_version; >} > >which gives you a list of all installed modules, including the >distribution ones. No, no! It only lists modules for which there exists a newer version on CPAN. Peter -- Peter J. Acklam - pjacklam AT online DOT no - http://home.online.no/~pjacklam -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/