Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 1998 22:48:24 +0300 (MSK)
From:      Dmitry Khrustalev <dima@bog.msu.su>
To:        freebsd-current@FreeBSD.ORG
Subject:   perl5 modules version breakage in current
Message-ID:  <Pine.GSO.4.05.9810222238230.9727-100000@sunny.bog.msu.su>

next in thread | raw e-mail | index | archive | help

Some perl modules in the tree generate their version number like this:

$VERSION = (qw$Revision$)[1];
or
$VERSION = substr q$Revision$, 10;
or
$VERSION = sprintf("%d.%02d", q$Revision$ =~ /(\d+)\.(\d+)/);

since cvs changes $Revision$ this breaks CPAN, use Module VERSION, etc.

	-Dima




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.05.9810222238230.9727-100000>