Forum Moderators: coopster

Message Too Old, No Replies

Perl to PHP?

Can a program be easily converted from Perl to PHP?

         

AAnnAArchy

7:01 pm on Sep 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I know absolutely nothing about coding, so no need for any complicated answers. :)

There's a really cool program that I like that's coded in Perl, but I know that PHP is the future for such programs. Is there any easy way to have it converted to PHP? I do have a PHP guy, but not a Perl guy.

coopster

7:11 pm on Sep 26, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Nothing wrong with Perl, it's been here and will continue to be here. I'm not aware of any conversion tools, but if you have your PHP guy look at it, he should be able to figure it out if it isn't too terribly complex.

Filipe

10:10 pm on Sep 26, 2003 (gmt 0)

10+ Year Member



:: agrees with coopster ::

Perl isn't dead... it just smells that way.

Perl can do anything PHP can. Simple as that. And, well, vice-versa. It's just the approach that's different.

Perl and PHP aren't too far off from each other. They're both roughly C-style syntax with their various idiosyncrasies.

jatar_k

11:02 pm on Sep 26, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



AAnnAArchy,

as long as you have perl on your server then no use reprogramming the script. Just use it as is. Only thing is if you need to modify it may take your php guy a little extra time.

Or he can just rewrite it in php, whichever.

AAnnAArchy

8:59 pm on Sep 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I do have Perl on my server, but I want it converted to PHP because in order to modify it, I need someone to know how to do it. My partner knows some PHP, my PHP guy is really great with PHP (and is always willing to learn new PHP stuff) and I don't know anyone that knows Perl. :) Also, everything else I have is programmed in PHP, although you wouldn't know it by talking to me. I'm just the information gatherer.

Thanks for all your help, everyone.