in reply to Re: Package VERSIONs not parseable by the cpan module
in thread Package VERSIONs not parseable by the cpan module
choroba wrote:
Have you tried
o conf show_unparsable_versions ... $ perl -Moverload::numbers\ 999 -e1
First of all I'll comment on the line of code above: as far as I can recall, I've never seen that usage for checking module versions, and it's kind of cool. I have always simply used:
$ perl -Moverload::numbers -e 'print $overload::numbers::VERSION'
I like your method better, not least because it's shorter to type.
And, as far as the configuration setting show_unparsable_versions, I did set that before using the r command the second time. Without that setting, cpan just ignores unversioned modules with the message: NNN installed modules have no parsable version number (where "NNN" varies by installation).
Jul 08, 2025 at 16:54 UTC
|
---|