Click to See Complete Forum and Search --> : Perl to Php


Pestilence
07-12-2001, 03:37 PM
Does anyone know of a converter to convert the Yabb cgi code to php for a windows system? I wasn't able to find a converter on download.com unfortunately.

------------------
(\__/) See the bunny.
(='.'=) Hear the bunny.
(") (") Pet the bunny.

BE the bunny.

Data Structure programming assignment solutions found here! http://www.sa.sc.edu/cp/java/
By Yours truly.

reklis
07-12-2001, 03:45 PM
Why can't you just install Perl on the windows box?

------------------
Advocate of the Sharky (Ultra) High-Resolution Club [SHRC (http://www.sharkyforums.com/ubb/Forum17/HTML/005121.html)]
main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}

Grizzly
07-12-2001, 05:36 PM
I really don't think that's even possible. I've never heard, nor can I imagine how it would be possibly to make one, general convertor which would take someones code and reword it into another language like that.

There's functions in Perl which simply don't have a PHP equivelant, and vice versa.

[This message has been edited by Grizzly (edited July 12, 2001).]

reklis
07-13-2001, 12:47 AM
Originally posted by Grizzly:
I really don't think that's even possible

Sure it's possible. There are plenty of language converters out there. They usually generate horrible code, but they get the job done. If a Perl->PHP thing has been done I don't know of any. The question is, do you really want the code that it generates, and more importantly, do you have to maintain the code it generates?

------------------
Advocate of the Sharky (Ultra) High-Resolution Club [SHRC (http://www.sharkyforums.com/ubb/Forum17/HTML/005121.html)]
main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}

Pestilence
07-13-2001, 04:30 PM
I wouldn't really have to maintain it. If it converted it and the code worked fine then that'd be great. If not, it wouldn't be the end of the world.

------------------
(\__/) See the bunny.
(='.'=) Hear the bunny.
(") (") Pet the bunny.

BE the bunny.

Data Structure programming assignment solutions found here! http://www.sa.sc.edu/cp/java/
By Yours truly.

richardginn
07-13-2001, 06:09 PM
How about looking around for a message board done in php script???

------------------
www.geocities.com/richardginn/templatehtml (http://www.geocities.com/richardginn/templatehtml) -Come visit the Template HTML homepage

reklis
07-13-2001, 10:55 PM
I still don't understand why you can't install Perl on the windows box... that would solve your problem, and you wouldn't have to do anything short of a proper install.

------------------
Advocate of the Sharky (Ultra) High-Resolution Club [SHRC (http://www.sharkyforums.com/ubb/Forum17/HTML/005121.html)]
main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}