Reputation: 1207
I'm hoping to write a Python wrapper around an existing Perl API for a site I'm intending to build using the RESTful web services framework. Has anyone been able to do this (build a Python-to-Perl wrapper) with much success?
I have seen the page here http://wiki.python.org/moin/IntegratingPythonWithOtherLanguages#Perl, which details a few available packages, but I wasn't sure if anyone had any experience with using these and if any is better than an other?
Any pros and cons please? :-D
Upvotes: 2
Views: 1487
Reputation: 391862
Use subprocess
subprocess.Popen( "perl some_code.pl" )
Works really well.
Upvotes: 2
Reputation: 436
PyPerlish is no longer developed and Inline::Python is for using python code in perl, so... I'd go with PyPerl.
Upvotes: 1