Stella Levin
2012-04-22 10:21:14 UTC
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
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