in reply to Re^2: WWW::Pusher - does not send a message
in thread WWW::Pusher - does not send a message

The source code of WWW::Pusher is on GitHub. You should have forked the repository and created a pull request to fix the problem.

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

    That is exactly the problem, I fixed enough to do what I want but problem is still there, therefore ,until I will fix it all it will be only in my git. Thanks for your help. Your suggestion helped. Robert