use Test; BEGIN { plan tests => 11 } use Data::Dumper; use Inline::Python qw(eval_python); #============================================================================ # Pass code directly #============================================================================ ok(not defined eval_python("1 + 2")); ok( defined eval_python("1 + 2", 0)); ok(not defined eval_python("1 + 2", 1)); ok(not defined eval_python("1 + 2", 2)); # Set up a function and class eval_python(<