in reply to Using Perl Code from PHP

The link you gave uses $perl = new Perl();, not $perl = Perl::getInstance();. I don't know any PHP, so I can't predict if that will make a difference.

And for me this looks much like a PHP question, not a perl one.

Replies are listed 'Best First'.
Re^2: Using Perl Code from PHP
by andreas1234567 (Vicar) on May 06, 2008 at 09:28 UTC
    $perl = new Perl();
    That works nicely. Thank you moritz.
    And for me this looks much like a PHP question, not a perl one.
    Well, I agree that it's a PHP question. Meanwhile, I think creating interfaces to perl from other languages is a discussion worth taking here.
    --
    No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
      hi andreas i have the same proplem with "I also tried PHP::Interpreter without success. make test reports PHP/Interpreter/Interpreter.so: undefined symbol: _zval_ptr_dtor" So , did you found a solution for this proplem ?