#!/usr/bin/perl use strict; use warnings; use Inline::Python qw(py_eval py_bind_class); use Data::Dumper; py_eval(<<'END'); from hyperdex.client import Client class MyClient(Client): def placeholder(self): print "Placeholder function" END py_bind_class("main::PerlClient","__main__","MyClient"); my $a = new PerlClient('127.0.0.1',1982); warn Dumper($a->get('space','1234567'));