[Zope] Re: Issues with pyperl: perl2.so not found

Derrick Hudson dman at dman13.dyndns.org
Tue Dec 13 15:06:25 EST 2005


On Fri, Nov 04, 2005 at 07:54:25AM +1300, Cameron Beattie wrote:
| 
| >On 11/3/05, Cameron Beattie <kjcsb at orcon.net.nz> wrote:
| >>pyperl is a prerequisite to zoperl which allows perl scripts to be used
| >>within zope. I should have mentioned that.
| 
| >Try the zope-perl at zope.org, if it still exists...
| 
| Thanks. Will do.
| 
| >zoperl hasn't been updated since 2001. That's probably more due to
| >nobody using it than being perfect. The reason for that is that Zope
| a>lready has a very good scripting language, so the need to use perl is
| >very miniscule, and almost always more pain than it's worth.
| 
| I'm very happy with Zope and python. Unfortunately my bank doesn't have a 
| python version of it's API which is why I'm trying to use perl with Zope.

For that you might try some alternate approaches:

    - create a command-line wrapper for the API;  in zope you can then
      use python's subprocess module to run the perl program that will
      make the API calls  (I am successfully using this for a certain
      Java API)

    - create a non-zope server to host the perl portion and use
      XML-RPC or SOAP or whatever to communicate to that from your
      zope app

    - port the perl code to python (after all you have the source)

HTH,
-D

-- 
"He is no fool who gives up what he cannot keep to gain what he cannot lose."
    --Jim Elliot
 
www: http://dman13.dyndns.org/~dman/            jabber: dman at dman13.dyndns.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope/attachments/20051213/2faed6d3/attachment.bin


More information about the Zope mailing list