projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lose some of the annoying uninitialised msgs
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index 5d16f93d58594e0a467cf6933f662098e8ca5471..1dd868c0aa79600c371307b1224513decb25e492 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-1323,8
+1323,8
@@
sub spawn_cmd
sub {
my $subpro = shift;
if (isdbg('progress')) {
sub {
my $subpro = shift;
if (isdbg('progress')) {
- my $s =
"line: $line"
;
- $s .= ", args: " . join(', ', @$args) if $args && @$args;
+ my $s =
qq{line: "$line"}
;
+ $s .= ", args: " . join(', ',
map { defined $_ ? qq{'$_'} : q{'undef'} }
@$args) if $args && @$args;
dbg($s);
}
eval { @out = $cmdref->(@$args); };
dbg($s);
}
eval { @out = $cmdref->(@$args); };