Stas Bekman wrote:
May be you are right, Hugo, in which case perl provides no function to figure a version number without first loading the module. Besides, no module that ever wants to run under -T environment can use ExtUtils::MM_Unix->parse_version, because it will break. If you have an alternative solution, please suggest it.

If you don't mind the extra dependency, it should be possible to add this to the CPAN "version" module (and thence to the core in 5.9.x). I just need a name for the new function (I don't like parse_version that much).



Besides, If you are going to say:


require Foo;

doesn't it make Foo trusted enough to make contents of Foo.pm trusted for eval STRING?

That seems reasonable...


John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Reply via email to