|
The perlmodule basically embeds a perl interpreter in python and provides a simple API for invoking it and obtaining references to objects within it: import perl perl.eval(code) perl.require(module) perl.call(func, args,...) perl.callm(method, obj, args,...) perl.get_ref(name) perl.array(sequence) |
|