fiddle with use DB_File in sh/node.pl
authorminima <minima>
Mon, 31 Jul 2000 21:17:23 +0000 (21:17 +0000)
committerminima <minima>
Mon, 31 Jul 2000 21:17:23 +0000 (21:17 +0000)
cmd/show/node.pl

index 9b6938a60db6489ec1d2166d8486def5cda98cc5..2cdf84a380a84749def463fef204bff08544ca2b 100644 (file)
 my ($self, $line) = @_;
 return (1, $self->msg('e5')) unless $self->priv >= 1;
 
+use DB_File;
+
 my @call = map {uc $_} split /\s+/, $line; 
 my @out;
 my $count;
 
 # search thru the user for nodes
 unless (@call) {
-       use DB_File;
        
        my ($action, $key, $data);
        for ($action = R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = R_NEXT) {