[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[FWP] Elegant ways to pick up the RCS revision



I thought I saw [maybe on c.l.p.misc] a fairly cute/clever way to pick up 
the RCS revision number...   I can't remember what it was, so I thought 
I'd ask here.  what I use [as is typical for my code] is dull and 
straightforward:

my $version = (split(/ /, '$Revision: $'))[1] ;

but surely there must be more fun/obscure ways to get that effect..:o)

  /Bernie\
-- 
Bernie Cosell                     Fantasy Farm Fibers
mailto:bernie@fantasyfarm.com     Pearisburg, VA
    -->  Too many people, too few sheep  <--          

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe