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 implementingperlstuff inphp?Basically I want to take advantage of perls natural language processing power and libraries, but having never coded inperlI was hoping to interface it withphpsomehow. 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
PERLenough to stay away. I'dlearna bit if it was effective underPHP.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
pears although my windowzPHP5.2.5 doesnt have a compiledphp_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 linuxquestions 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
Perlscripts with exec or so.Would be an easy way to use Perlmodules, 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 itapple-sauce. Can't be sure.In any case, he needs to be able to duplicate the errors that they bring on to themselves. dirk
Indeed, it's me.
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 Linuxservers.There are lots of programs which are not available for Linux.Anyway, no worry, most of our servers are Linuxones.perkiset
Whew... man that had a sphincter factor of about 9.5 honestly.
|
Thread Categories
Best of The Cache Home | ||
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads