Johan Vromans wrote:
Sorry to bring this up (again) but I am still wondering why version is
a pragma instead of a module.

The original goal was to make the simple act of writing:

        $VERSION = 1.2.0;

create a version object. It turns out I can do that in bleadperl (since I have access to the tokenizer there), but I have been unable to do that via the CPAN compatibility module.

Within bleadperl, the version object code lives in util.c/universal.c and is also used by Perl itself for $^V. I suppose it is version.pm and not Version.pm for hysterical porpoises at this point, through I'd prefer not to change it now...

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

Reply via email to