SPUG: SVN $Rev$ and Perl $VERSION

Michael R. Wolf MichaelRWolf at att.net
Mon Dec 12 23:16:35 PST 2005


What's the magic incantation to get a subversion $Rev$ keyword into a Perl
$VERSION variable for use in the Build.PL or Makefile.PL?

I've seen it.  I could reconstruct it.  But I bet you already know the
answer.....

Something like....

use version; our $VERSION = blah_blah_blah_using_qv_and_$Rev$


Thanks!!!!

P.S.  For bonus points (and for the readers using CVS and other VC systems),
please reply to the list with your favorite incantations, too....

-- 
Michael R. Wolf
    All mammals learn by playing!
        MichaelRWolf at att.net



More information about the spug-list mailing list