Julian Mehnle wrote:
> I will try that.  If I consistently use two dots, do I still need the 'v'?  

No, if you are using two dots, the current CPAN version.pm code will output the
same thing that you input:

$ perl -Mversion -e '$v = qv("2.004.0"); print $v'
2.004.0

as opposed to:

$ perl -Mversion -e '$v = qv("2.004"); print $v'
v2.004

Forcing the leading 'v' is the only way to make sure that the stringified form
can be round-tripped successfully.

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