Swarmage::Client - Blocking Client For Swarmage
use Swarmage::Client; my $client = Swarmage::Client->new( queue => { module => "DBI::Generic", config => { connect_info => [ ... ] } } ); my $response = $client->post_response( Swarmage::Task->new( type => $task_type, data => ...., ); );
To install Swarmage, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Swarmage
CPAN shell
perl -MCPAN -e shell install Swarmage
For more information on module installation, please visit the detailed CPAN module installation guide.