projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add uref for call in edu
[spider.git]
/
perl
/
Route
/
Node.pm
diff --git
a/perl/Route/Node.pm
b/perl/Route/Node.pm
index 0c2b2e4a6f69c7d20449fc1005250a66f2869bda..5858ddcc0053184f77b2eb7481441a3906c3c660 100644
(file)
--- a/
perl/Route/Node.pm
+++ b/
perl/Route/Node.pm
@@
-15,10
+15,8
@@
use Route::User;
use strict;
use vars qw($VERSION $BRANCH);
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,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
+
+main::mkver($VERSION = q$Revision$);
use vars qw(%list %valid @ISA $max $filterdef);
@ISA = qw(Route);
use vars qw(%list %valid @ISA $max $filterdef);
@ISA = qw(Route);
@@
-254,7
+252,7
@@
sub newid
if ($id > $self->{lid}) {
$self->{lid} = $id;
return 1;
if ($id > $self->{lid}) {
$self->{lid} = $id;
return 1;
- } elsif ($self->{lid} - $id >
600
00) {
+ } elsif ($self->{lid} - $id >
5
00) {
$self->{id} = $id;
return 1;
}
$self->{id} = $id;
return 1;
}