projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make some documentation changes and fix unset/register
[spider.git]
/
cmd
/
show
/
var.pl
diff --git
a/cmd/show/var.pl
b/cmd/show/var.pl
index de35e55fecd8198de5783a0be81904c8818b994f..eee2432feddf5321eefa9c388d6e97fea27f8e14 100644
(file)
--- a/
cmd/show/var.pl
+++ b/
cmd/show/var.pl
@@
-19,8
+19,8
@@
foreach $f (@f) {
# print "\$f = $f\n";
my @in;
push @in, (eval $f);
- if (
defined
@in) {
- my $dd = Data::Dumper->new([ @in ], [ "$f" ]);
+ if (@in) {
+ my $dd = Data::Dumper->new([
\
@in ], [ "$f" ]);
$dd->Indent(1);
$dd->Quotekeys(0);
my $s = $dd->Dumpxs;