Stella, Did you follow the link that I provided? From that page, I found a patched version from about 2007: http://www.felix-schwarz.name/files/opensource/pyperl/ as well as a subversion repo for Mandriva.
As this module aims to actually embed a Perl interpreter in Python, one of the recent patched versions is probably your best bet. David On Sun, Apr 22, 2012 at 3:01 PM, Stella Levin <stella_levin2...@yahoo.com>wrote: > This module is unmaintained, the last version was on 2001. > > *From:* David Mertens <dcmertens.p...@gmail.com> > *To:* Stella Levin <stella_levin2...@yahoo.com> > *Cc:* "inline@perl.org" <inline@perl.org> > *Sent:* Sunday, April 22, 2012 9:09 PM > *Subject:* Re: call perl from python code > > Stella - > > Did you have any luck using PyPerl? http://wiki.python.org/moin/PyPerl > > David > > On Sun, Apr 22, 2012 at 5:21 AM, Stella Levin > <stella_levin2...@yahoo.com>wrote: > > 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 > > > > > -- > "Debugging is twice as hard as writing the code in the first place. > Therefore, if you write the code as cleverly as possible, you are, > by definition, not smart enough to debug it." -- Brian Kernighan > > > > -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan