in reply to Re^2: WWW::Pusher - does not send a message
in thread WWW::Pusher - does not send a message
But I'm not sure you really fixed any issues. You replaced
my $payload = to_json($args{data}, { allow_nonref => 1 });
with
my $message = "$args{data}"; my %rec_hash = ('message' => $message); my $payload = to_json (\%rec_hash, { allow_nonref => 1 });
(with broken indentation). Which means, your version of the module can only send "message", while the original allows for any data to be sent (not knowing the module's purpose, I'm not sure it's desirable, though). The solution I provided does exactly the same.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: WWW::Pusher - does not send a message
by rkrasowski (Sexton) on Jun 15, 2015 at 23:20 UTC |