projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[spider.git]
/
perl
/
DXUser.pm
diff --git
a/perl/DXUser.pm
b/perl/DXUser.pm
index e5a6a3b241c37915a9e75b4073abbf28ede33631..892f1a59d1e7d1ea61d6c1b08b1fa66a4b517a3f 100644
(file)
--- a/
perl/DXUser.pm
+++ b/
perl/DXUser.pm
@@
-79,8
+79,7
@@
$lrusize = 2000;
wantpc90 => '1,Req PC90,yesno',
wantnp => '1,Req New Protocol,yesno',
wantpc16 => '9,Want Users from node,yesno',
wantpc90 => '1,Req PC90,yesno',
wantnp => '1,Req New Protocol,yesno',
wantpc16 => '9,Want Users from node,yesno',
- wantsendpc16 => '9,Send PC16,yesno',
- wantroutepc19 => '9,Route PC19,yesno',
+ wantsendpc16 => '9,Send users to node,yesno',
lastoper => '9,Last for/oper,cldatetime',
nothere => '0,Not Here Text',
registered => '9,Registered?,yesno',
lastoper => '9,Last for/oper,cldatetime',
nothere => '0,Not Here Text',
registered => '9,Registered?,yesno',
@@
-92,6
+91,7
@@
$lrusize = 2000;
#no strict;
sub AUTOLOAD
{
#no strict;
sub AUTOLOAD
{
+ my $self = shift;
no strict;
my $name = $AUTOLOAD;
no strict;
my $name = $AUTOLOAD;
@@
-102,7
+102,12
@@
sub AUTOLOAD
# this clever line of code creates a subroutine which takes over from autoload
# from OO Perl - Conway
*$AUTOLOAD = sub {@_ > 1 ? $_[0]->{$name} = $_[1] : $_[0]->{$name}};
# this clever line of code creates a subroutine which takes over from autoload
# from OO Perl - Conway
*$AUTOLOAD = sub {@_ > 1 ? $_[0]->{$name} = $_[1] : $_[0]->{$name}};
- goto &$AUTOLOAD;
+ &$AUTOLOAD($self, @_);
+# *{$AUTOLOAD} = sub {@_ > 1 ? $_[0]->{$name} = $_[1] : $_[0]->{$name}} ;
+# if (@_) {
+# $self->{$name} = shift;
+# }
+# return $self->{$name};
}
#use strict;
}
#use strict;
@@
-370,7
+375,7
@@
BEGIN {
# try to detect a lockfile (this isn't atomic but
# should do for now
# try to detect a lockfile (this isn't atomic but
# should do for now
- $lockfn = "$root/
per
l/cluster.lck"; # lock file name
+ $lockfn = "$root/
loca
l/cluster.lck"; # lock file name
if (-e $lockfn) {
open(CLLOCK, "$lockfn") or die "Can't open Lockfile ($lockfn) $!";
my $pid = <CLLOCK>;
if (-e $lockfn) {
open(CLLOCK, "$lockfn") or die "Can't open Lockfile ($lockfn) $!";
my $pid = <CLLOCK>;
@@
-590,11
+595,6
@@
sub wantsendpc16
return _want('sendpc16', @_);
}
return _want('sendpc16', @_);
}
-sub wantroutepc16
-{
- return _want('routepc16', @_);
-}
-
sub wantlogininfo
{
my $self = shift;
sub wantlogininfo
{
my $self = shift;