Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 1998 08:10:51 +0200
From:      Mark Murray <mark@grondar.za>
To:        Dmitry Khrustalev <dima@bog.msu.su>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: perl5 modules version breakage in current 
Message-ID:  <199810230610.IAA16995@gratis.grondar.za>
In-Reply-To: Your message of " Thu, 22 Oct 1998 22:48:24 %2B0300." <Pine.GSO.4.05.9810222238230.9727-100000@sunny.bog.msu.su> 
References:  <Pine.GSO.4.05.9810222238230.9727-100000@sunny.bog.msu.su> 

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Khrustalev wrote:
> 
> 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.

Drat. Ok - I'll look at it.

M
--
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org

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?199810230610.IAA16995>