call perl from python code

[email protected] (Stella Levin)
Newsgroups perl.inline
Message-ID <[email protected]>
Hi,
I have installed Inline::Python.
Manual says: "perl is a Python module bundled with Inline::Python that gives you access to Perl from inside your Python code"- I cannot find this perl module under installation package
- I cannot get working:

#! /usr/bin/env python
import perl
perl.eval("printf \"HelloFromPerl\";")

- I can get working:

#!/usr/bin/perl
use Inline Python => <<'END';
print "Hello from python"
END

Any help will be appreciated.
Thanks, Stella
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.