projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add various stats commands
[spider.git]
/
perl
/
Minimuf.pm
diff --git
a/perl/Minimuf.pm
b/perl/Minimuf.pm
index d9b9e06fefa252ba5cf46c7971f9cf565ff65bd1..88d2be64c6c7ebdf65c771a5576545d8737b2e7c 100644
(file)
--- a/
perl/Minimuf.pm
+++ b/
perl/Minimuf.pm
@@
-45,6
+45,13
@@
require Exporter;
$noise);
use strict;
$noise);
use strict;
+
+use vars qw($VERSION $BRANCH);
+$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0;
+$main::build += $VERSION;
+$main::branch += $BRANCH;
+
use vars qw($pi $d2r $r2d $halfpi $pi2 $VOFL $R $hE $hF $GAMMA $LN10
$MINBETA $BOLTZ $NTEMP $DELTAF $MPATH $GLOSS $SLOSS
$noise);
use vars qw($pi $d2r $r2d $halfpi $pi2 $VOFL $R $hE $hF $GAMMA $LN10
$MINBETA $BOLTZ $NTEMP $DELTAF $MPATH $GLOSS $SLOSS
$noise);
@@
-473,7
+480,7
@@
sub ds
$s = 0 if $s < 0;
my $plus = (($l / 6) >= $s + 0.5) ? '+' : ' ';
$s = 0 if $s < 0;
my $plus = (($l / 6) >= $s + 0.5) ? '+' : ' ';
- return "$c2
\
S$s$plus";
+ return "$c2
". "
S$s$plus";
}
1;
}
1;