Skip to content

Instantly share code, notes, and snippets.

@larsen
Created April 8, 2012 10:14
Show Gist options
  • Save larsen/2336407 to your computer and use it in GitHub Desktop.
Save larsen/2336407 to your computer and use it in GitHub Desktop.
Thrift generated Perl code - client get()
sub get{
my $self = shift;
my $key = shift;
my $column_path = shift;
my $consistency_level = shift;
$self->send_get($key, $column_path, $consistency_level);
return $self->recv_get();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment