projects
/
APKPM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a5d105
)
dump workload for d_*
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 13 Mar 2011 17:19:35 +0000
(18:19 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 13 Mar 2011 17:19:35 +0000
(18:19 +0100)
lib/APKPM/Gearman.pm
patch
|
blob
|
history
diff --git
a/lib/APKPM/Gearman.pm
b/lib/APKPM/Gearman.pm
index
584e7f7
..
725da10
100644
(file)
--- a/
lib/APKPM/Gearman.pm
+++ b/
lib/APKPM/Gearman.pm
@@
-13,13
+13,13
@@
sub e_json {
sub d_json {
my ( $self, $workload ) = @_;
- warn "# d_json
", dump $workload
;
+ warn "# d_json
$workload"
;
return JSON::XS::decode_json($workload);
}
sub d_array {
my ( $self, $result ) = @_;
- warn "# d_array
", dump($result)
;
+ warn "# d_array
$result"
;
return [ split(/\s+/,$result) ];
}