in reply to Re: lspm - list names and descriptions of Perl modules in a directory
in thread lspm — list names and descriptions of Perl modules in a directory
That’s not a clear win. Because much CPAN-related infrastructure insists on a single dash, almost all modules have a single hyphen, which means the more fastidious form picks up nearly all descriptions correctly. If you allow multiple hyphens, you recover some false negatives, at the cost of some false positives, where the description of the module is malformed but there’s a line with multiple hyphens somewhere nearby. Matching ' --? ' at that point has a couple fewer false positives and still almost no false negatives.
But because of the effect of CPAN’s rules, it’s hardly worth bothering either way, and I prefer to get output that’s consistent with other tools.
Makeshifts last the longest.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: lspm - list names and descriptions of Perl modules in a directory
by jwkrahn (Abbot) on Jul 16, 2006 at 12:19 UTC |