Johan Vromans wrote:
> My suggestion is, that in that case, it would be better to have perl
> expose the necessary entry point(s) so version can call this entry
> point directly, instead of going the (tedious and error-prone) way of
> cut/paste.

Perl doesn't work like that (at least not until Perl6 at the earliest).  The
tokenizer is not pluggable (though some people have talked about making it so).
 The version code must be at the lowest level of the Perl source, because Perl
itself uses it ($^V is now a version object).  Also, the code in
UNIVERSAL::VERSION is version-object aware (and is exactly the code that the
CPAN release uses to support earlier Perl releases).  I don't see of any way
that it would be possible to make the version object code independent of Perl
v5.10.0...

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Blvd
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Reply via email to