projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow PC92(A/D) to be slugged and aggregated
[spider.git]
/
cmd
/
show
/
var.pl
diff --git
a/cmd/show/var.pl
b/cmd/show/var.pl
index eee2432feddf5321eefa9c388d6e97fea27f8e14..e4919cbded381f1e13ed66be38b09ff51cc84ed6 100644
(file)
--- a/
cmd/show/var.pl
+++ b/
cmd/show/var.pl
@@
-5,11
+5,11
@@
#
# Copyright (c) 1999 - Dirk Koopman G1TLH
#
#
# Copyright (c) 1999 - Dirk Koopman G1TLH
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
-return (1, $self->msg('e5')) if $self->priv < 9 || $self->remotecmd;
+return (1, $self->msg('e5')) if $self->priv < 9 || $self->remotecmd
|| $self->inscript
;
return (1, $self->msg('e9')) unless $line;
my @f = split /\s+/, $line;
my $f;
return (1, $self->msg('e9')) unless $line;
my @f = split /\s+/, $line;
my $f;
@@
-20,11
+20,7
@@
foreach $f (@f) {
my @in;
push @in, (eval $f);
if (@in) {
my @in;
push @in, (eval $f);
if (@in) {
- my $dd = Data::Dumper->new([ \@in ], [ "$f" ]);
- $dd->Indent(1);
- $dd->Quotekeys(0);
- my $s = $dd->Dumpxs;
- push @out, $s;
+ push @out, "$f = ". dd(\@in);
Log('DXCommand', $self->call . " show/var $f");
} else {
push @out, $@ ? $@ : $self->msg('e3', 'show/var', $f);
Log('DXCommand', $self->call . " show/var $f");
} else {
push @out, $@ ? $@ : $self->msg('e3', 'show/var', $f);