[Chicago-talk] Perl and CVS

Jay Strauss me at heyjay.com
Wed Nov 12 22:03:54 CST 2003


Thanks,

Do most people use:

$VERSION = sprintf "%d.%03d", q$Revision: 1.9 $ =~ /(\d+)/g;

or

$VERSION = do { my @r = (q$Revision: 1.9 $ =~ /\d+/g); sprintf "%d."."%03d"
x $#r, @r };

Jay
----- Original Message -----
From: "Andy Lester" <andy at petdance.com>
To: "Chicago.pm chatter" <chicago-talk at mail.pm.org>
Sent: Wednesday, November 12, 2003 10:12 PM
Subject: Re: [Chicago-talk] Perl and CVS


> > >> when I'm building a module and I have:
> > >>
> > >> our $VERSION = '0.01';
>
> Take a look at the ExtUtils::MakeMaker FAQ.
>
> xoa
>
> --
> Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at mail.pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
>
>




More information about the Chicago-talk mailing list