faqts : Computers : Programming : Languages : Python : Python and Other Languages : Connecting

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

22 of 37 people (59%) answered Yes
Recently 4 of 10 people (40%) answered Yes


How do I invoke Perl code from Python?
Is there a module for invoking perl code?
Can I run CPAN modules in Python?

Jun 21st, 2002 07:04
Michael Chermside,

To invoke perl code from Python, you need the module "pyperl".
I (the author writing this) have not used this, but I hear good things
about it, and it can be downloaded from
(ftp://ftp.activestate.com/Zope-Perl/). Try also this link:
(http://aspn.activestate.com/ASPN/CodeDoc/pyperl/perlmodule.html) which
includes sample code.
There is also an effort (based on pyperl) to incorporate perl into Zope.
A wiki describing the project is at http://www.zope.org/Wikis/zope-perl
If anyone reading this has actually used pyperl and can describe it
better, please update this answer!