projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fiddle with 8 bit characters, start to check everything more rigourously
[spider.git]
/
cmd
/
show
/
var.pl
diff --git
a/cmd/show/var.pl
b/cmd/show/var.pl
index 7f73558ee6142dcccff9b30a74db1b3134ec7920..b09193c29bc306f71dffd5822de649a5f77cf409 100644
(file)
--- a/
cmd/show/var.pl
+++ b/
cmd/show/var.pl
@@
-18,9
+18,12
@@
foreach $f (@f) {
print "\$f = $f\n";
my $var = eval "$f";
if ($var) {
print "\$f = $f\n";
my $var = eval "$f";
if ($var) {
- my $s = Data::Dumper->Dump([ $var ], [ "$f" ]);
+ my $dd = Data::Dumper->new([ $var ], [ "$f" ]);
+ $dd->Indent(1);
+ $dd->Quotekeys(0);
+ my $s = $dd->Dumpxs;
push @out, $s;
push @out, $s;
- Log('DXCommand', $self->call . " show/var $
s
");
+ Log('DXCommand', $self->call . " show/var $
f
");
} else {
push @out, $@ ? $@ : $self->msg('e3', 'show/var', $f);
Log('DXCommand', $self->call . " show/var $f not found" );
} else {
push @out, $@ ? $@ : $self->msg('e3', 'show/var', $f);
Log('DXCommand', $self->call . " show/var $f not found" );