Image Ulrich Habel
About me/Impressum

search

Google


Search WWW
Search rhaen daily

archives

feeds

Perl nation banner logo thing
29.07.2008

More pkgsrc hacking

The next round will start soon. I saw alot of perl modules which do need updating and I started to think over various mechanisms to keep that automated. My pkgsrc2cpan report is quite useful for this, however the CPAN.pm module which is shipped with Perl 5.8.8 seems to be quite, hm...feature aware. There are methods to get the version for a module which is at CPAN, however it's mixing all the different version arguments for Perl modules.
For example a module in version 0.000009 is the same as 0.0.9. By a simple pattern match for comparison this method is likely to fail. There a few more issues with that. A module can be updated on CPAN but it's not noted inside the CPAN modlist files. Therefor querying the CPAN.pm module gives you just a wrong answer. That's just annoying and I need to find a workaround for this.
So far I am using my script for a quick overview and it's far better to have such an option than to have nothing to look at. Maybe someone is so thankful and write a new CPAN-ask-my-version module.

[/pkgsrc] [link]

powered by NetBSD