Can I call Perl from python?

I searched a lot and I realized that there is inline :: Python for inputting python code in Perl .. But I'm looking for some means by which I can access modules and functions written in Perl without writing any Perl code via python code.

Maybe I ask too much?

+6
python perl
source share
2 answers

I believe that this is what the Parrot project allows. This is a virtual machine that should be able to run various dynamic languages, including Python and Perl. I have no idea how ready it is for real use, and I have never seen any instructions for people who want to use Parrot and not develop it.

+5
source share

You can use Python language services to analyze Perl and create Python AST (with the appropriate FFI for any modules written in C), but I have not seen such a commitment yet.

0
source share

All Articles