Think about Loose Coupling | |
PerlMonks |
parsing CPAN urlsby perl5ever (Pilgrim) |
on May 12, 2011 at 17:32 UTC ( [id://904505]=perlquestion: print w/replies, xml ) | Need Help?? |
perl5ever has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
Is there a CPAN module which extracts the author, module and version from strings like:
Are there any other odd-ball cases like the Math-BigInt url? Alternatively, what's your favorite method/regexp to parse them? Note: I realize that the _correct_ module and version won't always be derivable from the CPAN url, but I am only looking for something which gives the best guess at what they should be.
Back to
Seekers of Perl Wisdom
|
|