[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Perl Moral Support



On Fri, Mar 17, 2000 at 1:58 PM, Adam Sampson wrote:
| Well, for that purpose, a perl-embedded-in-python module should be quite
| sufficient. You could then have your custom Perl modules loaded into the
| interpreter and callable from Zope objects.
|
| This is starting to sound like an increasingly interesting idea to me, so
| I'll have a look into implementing it. "import perl" and "use python;"
sound
| very nice indeed.
|
| --
|
| Adam Sampson
| azz@gnu.org

I looked into this a while back, and concluded that Python-in-Perl is
relatively easy, while Perl-in-Python would be a real pain. (I assumed that
actual interpretation would be necessary; using the C extension facilities
to run the other language is a cheap trick. (And mostly useless, since
fork()/exec() or system() can do that just as well.) I also assumed that the
C extension facilities could be hacked to emulate each other.)

Now I actually have a use for Python.pm: it would be nice if psh
(http://www.focusresearch.com/gregor/psh/) were capable of inline Python
evaluation. (OK, I admit it's just for the hack value. :)) If you're
interested in such a project, and want to have some FWP and FWP, drop me a
line.

--
Omer Shenker                     oshenker@iname.com


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe