Perl CPAN module help
Peter J. Acklam
pjacklam@online.no
Fri Nov 14 12:32:00 GMT 2003
Patrick Eisenacher <eisenacher@fillmore-labs.com> 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@online.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/
More information about the Cygwin
mailing list