Thread CPAN day !!!
(8 answers)
Opened by lichtkind at 2014-08-17 15:01
tschuldigung, meine glaskugel war kaputt.
ein ansatz: Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 use CPAN; my @mod = CPAN::Shell->expand("Module","/./"); for my $mod (sort { $a->id cmp $b->id } @mod) { my $id = $mod->id; my $inst = $mod->inst_version; my $cpan = $mod->cpan_version; my $upgrade = CPAN::Version->vgt($cpan, $inst); next unless $upgrade; say "$id: $inst <=> $cpan"; } Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |