cpanm -n AnyEvent::STOMP Mojolicious List::MoreUtils
For testing you can use POE::Component::MessageQueue
(install via cpanm), and just run mq.pl
to start a local message queue that these scripts will work on.
./app.pl daemon
Then hit http://localhost:3000
in your browser.
Then Send messages to the queue using:
./send.pl
You should see the stomp messages load in the browser!
Mojo could be used with AnyEvent only if there is EV available.
So add "use EV;" to be sure it is installed.