From owner-freebsd-current Thu Oct 22 23:12:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA27178 for freebsd-current-outgoing; Thu, 22 Oct 1998 23:12:25 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA27172 for ; Thu, 22 Oct 1998 23:12:19 -0700 (PDT) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by gratis.grondar.za (8.9.1/8.9.1) with ESMTP id IAA16995; Fri, 23 Oct 1998 08:10:52 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199810230610.IAA16995@gratis.grondar.za> To: Dmitry Khrustalev cc: freebsd-current@FreeBSD.ORG Subject: Re: perl5 modules version breakage in current In-Reply-To: Your message of " Thu, 22 Oct 1998 22:48:24 +0300." References: Date: Fri, 23 Oct 1998 08:10:51 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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