Skip to content

Instantly share code, notes, and snippets.

@talk2vino
talk2vino / gist:096ea9762f637310df9b
Last active August 29, 2015 14:23
Cassandra Client from Perl
#!/usr/bin/perl
use IO::Async::Loop;
use Net::Async::CassandraCQL;
use Protocol::CassandraCQL qw( CONSISTENCY_QUORUM );
use Protocol::CassandraCQL::Result;
my $loop = IO::Async::Loop->new;
my $cass = Net::Async::CassandraCQL->new(
host => "ipaddress of the Seed Nodes",
keyspace => "xxxx",