in reply to Has anyone tried PHP.pm?

Hmm. Do you want access to PHP functions or just data values defined in the globals file? The latter can probably be extracted with a little regex work, but the former is going to be difficult - unless you want to set up a mediatior PHP file for each function that can be called from Perl, accept arguments, and pass them to the function.

Personally, I'd just take a few days and learn PHP. It's not a difficult language. I like using both Perl and PHP myself, but I don't mix the two except when using Perl to generate HTML / PHP from a template.

Replies are listed 'Best First'.
Re^2: Has anyone tried PHP.pm?
by Anonymous Monk on Apr 24, 2005 at 20:57 UTC
    I do know a little bit of PHP, which is why I prefer Perl. :p

    It's mostly PHP functions I want access to. While it would be fairly easy to rewrite them in Perl, any new release of the forum software would probably break my module. There's also possible license issues to be considered when copying large chunks of code.
      Whoops. That was me, in case you were wondering.