One package lets you call perl code from with python; the other lets you call 
python code from within perl. Whichever one you use, the embedded language 
can call back out to the host language. There are some differences 
(python-perlmodule generally imports perl modules, while perl-Inline-Python 
compiles and executes arbitrary python code inline with the perl), but 
they're both quite nifty.

By the way, the original name of python-perlmodule is pyperl, but the whole 
name thing is a bit confused because it's from CPAN rather than Starship....

From the package descriptions:

python-perlmodule:
>Perlmodule makes it possible to embed perl interpreters in any
>python program. It can be used to invoke arbitrary perl code, load
>any perl modules, and make calls directly into perl functions. The
>perl code invoked can call back into python as it sees fit.
>
>This package is built with MULTI_PERL enabled--each python thread
>gets its own separate perl interpreter.

perl-Inline-Python:
>The Inline-Python module allows you to put source code from Python
>directly "inline" in a Perl script or module. The code is automatically
>compiled as needed, and then loaded for immediate access from Perl.
>
>The Python code will be able to call back to the Perl code at will.
>However, if you want the ultimate host language to be Python, use
>python-perlmodule instead.
>
>Inline-Python relies on the Inline module to do most of its work; many
>other languages can be inlined besides Python.


Reply via email to