DangerMouse

Hey all,

Maybe a totally off the wall question, although I've seen this so I believe its possible - http://pecl.

php

 

.net

 /package/

perl

 
- how would you go about implementing

perl

  stuff in

php

 ?

Basically I want to take advantage of

perl

 s natural language processing power and libraries, but having never coded in

perl

  I was hoping to interface it with

php

  somehow. Pipe dream or possible?

DM

dink

I'm with DM.  Seems like it should be possible, just don't know
where to start.

perkiset

Man this has the possibility of being a great thread. I've always had a hankering to work with mechanize, but hate

PERL

  enough to stay away. I'd

learn

  a bit if it was effective under

PHP

 .

Hoping smarties like Dirk or JasonD will chime in here...

DangerMouse

Attempted to install the PECL extension above but without success so far, it ap

pear

 s although my windowz

PHP

  5.2.5 doesnt have a compiled

php

 _

perl

 .dll available yet and the older version doesnt seem to work.

Not sure my shared hosting account will allow me to install PECL extensions, unlikely, but I may be able to complile it and pass it back to try again on Windows. Will let you know how I get on - will probably end up asking noob

linux

  questions when my compiling fails!

DM

dink

I don't suppose it would be something as simple as
exec(myScript.pl)
would it?

dirk

Sounds interesting. Better than calling

Perl

  scripts with exec or so.

Would be an easy way to use

Perl

  modules, like:

$

perl

 ->eval('use Digest::MD5');
echo $

perl

 ->{'Digest::MD5::md5_hex'}('Hello');

Anyway, I haven't used it before. Will try to install it
and run some tests.

Installation on Windows seems to be a bit tricky.

Dirk

perkiset

WINDOWS?!?!?!

Was that DIRK that just posted that he's using WINDOWS?

dink

Easy Perk.  Remember he has customers that use all sorts of weered systems.  I think I heard that some of them even slop over into

mac

 .  Or was it

apple

 -sauce.  Can't be sure.

In any case, he needs to be able to duplicate the errors that they bring on to themselves.  Applause

dirk

Indeed, it's me.  Applause

I'm using lots of programs. Some on Windows, some on

Linux

 .

For example, I develop the programs on Windows using Komodo
and test and run them on one of our

Linux

  servers.

There are lots of programs which are not available for

Linux

 .

Anyway, no worry, most of our servers are

Linux

  ones. Applause

perkiset

Whew... man that had a sphincter factor of about 9.5 honestly.  Applause


Perkiset's Place Home   Politics @ Perkiset's