ironcamel/Dancer-Plugin-Stomp — Issue #1: stomp_send
Author: ironcamel
Created: 2012-02-23 19:33:53+00:00
State: open

I am considering providing a convenience function such as `stomp_send(%data)` that would in effect do:

stomp->connect();
stomp->send(%data);
stomp->disconnect();

It could also support an arrayref arg where `stomp_send($msgs)` would do:

stomp->connect();
stomp->send(%$_) foreach @$msgs;
stomp->disconnect();