Re: Finding all version numbers in a distro's *.pm files
Ron Savage <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.module-build |
|---|---|
| Message-ID | <[email protected]> |
Hi Eric On Mon, 2009-08-31 at 18:46 -0700, Eric Wilhelm wrote: > # from Ron Savage > # on Monday 31 August 2009 18:04: > > >Is there a program/module which will scan all *.pm files in a dir, and > >extract what version.pm thinks are version numbers? > > Have you looked at Perl::Version (and perl-reversion)? Interesting. I'd forgotten it. I only used 'Module' to search CPAN. I particularly like the 'as expected' in the docs... It reminds me of that ancient TV show The Twilight Zone. As they said at the start of each episode: Do not attempt to adjust your set. /Weee/ are controlling transmission. > See also: all of the caveats David mentioned. Sure. -- Ron Savage [email protected] http://savage.net.au/index.html