Abe Timmerman wrote:
> Hi all,
>
> Merijn asked me to provide a patch that adds V.pm to the core.
>
> V.pm was written in response to a question Tels asked back in Jan. 2002...
Why V.pm and not Module::Info itself, which gives more [useful] information.
$ perl -Ilib -MV=Foo
Foo
/home/jpeacock/tmp/lib/Foo.pm: v0.0.1
vs
$ module_info lib/Foo.pm
Name: lib/Foo.pm
Version: v0.0.1
Directory:
File: /home/jpeacock/tmp/lib/Foo.pm
Core module: no
Shouldn't a program that tracks what modules are in the core be, well,
in the core? Plus module_info has all sorts of other nice features
(like what modules this asked for module 'use').
I also believe the regex in Module::Build::ModuleInfo is slightly more
robust than the one thieved from ExtUtils::MM_Unix. You wouldn't
believe how may evil $VERSION assignments there are in the wild...
John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748
Thread Previous