X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FPC.pm;h=5bce28b1f5bea78e7dda2209ce29228ece0c578e;hb=9e5520826fe61fd3ac6941f2b8bf736a432eaa15;hp=7ec71e543a24d0a0866c3481eb5832110387541c;hpb=1910df7183401a62084e85c3ace179df492a6fbe;p=spider.git diff --git a/perl/PC.pm b/perl/PC.pm index 7ec71e54..5bce28b1 100644 --- a/perl/PC.pm +++ b/perl/PC.pm @@ -8,6 +8,13 @@ # protocol entities # + +use vars qw($VERSION $BRANCH); +$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); +$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0)); +$main::build += $VERSION; +$main::branch += $BRANCH; + package PC10; @ISA = qw(Prot);