Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Pusher API examples in Perl
Latest commit 9726474 @robn Merge pull request #4 from jhgorse/patch-2
WebSocket keep alives and error handling
Failed to load latest commit information.
README add deprecation notice
pusher-event first cut
pusher-listener Tweak JSON error handler


Deprecated: Use instead.

Pusher for Perl

These are sample programs to show how to use Pusher ( from

pusher-client sends events to a single Pusher channel.

pusher-listener implements a WebSocket client that subscribes to a channel and
then dumps events that arrive.

This is just a starting point. You'll need to add error checks and recovery at
least, and probably a whole lot more. I'd love it if someone would turn these
into proper modules sometime (particularly the listener). You'll need a decent
understanding of AnyEvent and the Pusher API reference handy. But its ok, you
can do it!

License: Public domain or CC0, as you like.
Something went wrong with that request. Please try again.