[Chicago-talk] Perl and CVS

Jay Strauss me at heyjay.com
Wed Nov 12 22:04:47 CST 2003


Thanks for the link

jay
----- Original Message -----
From: "Scott T. Hildreth" <shild at sbcglobal.net>
To: "Chicago.pm chatter" <chicago-talk at mail.pm.org>
Sent: Wednesday, November 12, 2003 9:29 PM
Subject: RE: [Chicago-talk] Perl and CVS



Great CVS online book,

http://cvsbook.red-bean.com/cvsbook.html


On 13-Nov-2003 Scott T. Hildreth wrote:
>
> With CVS (as far as I know) you put an $Id: line at the top of the script
> which gets filled in with person who checked it in, version, date when the
code is
> commited.  So in perl put,
>
>#$Id: $
>
> at the top of your code.
>
> I don't know about having it replace the $VERSION, unless you parsed the
CVS Id line
> in a BEGIN block.
>
>
> On 13-Nov-2003 Jay Strauss wrote:
>> Hi,
>>
>> when I'm building a module and I have:
>>
>> our $VERSION = '0.01';
>>
>>
>> And then I'm using CVS, is there some way to make it when I check the
module
>> in, that CVS would replace the "0.01" with the CVS version?
>>
>> I remember with RCS you could put some strings into your code that RCS
would
>> replace with the history, author, version...
>>
>> What about with CVS and Perl?
>>
>> Thanks
>> Jay
>>
>> _______________________________________________
>> Chicago-talk mailing list
>> Chicago-talk at mail.pm.org
>> http://mail.pm.org/mailman/listinfo/chicago-talk
>
> ----------------------------------
> E-Mail: Scott T. Hildreth <shild at sbcglobal.net>
> Date: 12-Nov-2003
> Time: 21:22:06
> ----------------------------------
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at mail.pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk

----------------------------------
E-Mail: Scott T. Hildreth <shild at sbcglobal.net>
Date: 12-Nov-2003
Time: 21:29:01
----------------------------------
_______________________________________________
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