data can also be hash/arrayref. There should be no need to JSON encode your data.
it seems the module JSONizes the data structure for you. So, just specify a Perl structure:
my $response = $pusher->trigger( event => 'my_event', data => { message => 'Test message' +}, );
In reply to Re: WWW::Pusher - does not send a message
by choroba
in thread WWW::Pusher - does not send a message
by rkrasowski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |