Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] Converting Perl to PHP? From: aldham <email protected>
Date: 07/04/00

Having recently done the exact reverse, the big change is to change all the
curly brackets, { , to square brackets, [ .
Then the DBI calls have to be changed.

But as much as I like PHP, I have to wonder why you would convert from Perl
to PHP. I went the other way because I felt that PHP was bogging down under
load. When I ran the unix command top, I could see that serving up a fairly
intensive page was pinning out the CPU for 2 to 3 seconds. So I converted to
Perl, and then to Mod_Perl. Mod_Perl is over 20 times faster than PHP.
I have put my benchmarks generated with the apache utility ab up at
www.aldham.net/benchmarks/BenchMarks.php3 . All three benchmarks were run
on the same web server, same binary, same database underneath (Postgres).

-- 
Danny Aldham     Providing Certified Internetworking Solutions to Business
www.postino.com  E-Mail, Web Servers, Web Databases, SQL PHP & Perl

> > well, if you have some skills in Perl, why not write a script to help in the > conversion. i'd be willing to help... > > clayton > > "K" <kevsurf <email protected>> wrote in message > news:39626A10 <email protected> > > Hello, > > > > I have a set of script that are written in Perl and I would like to > convert > > them into PHP scripts. I was wondering if anyone new of any programs that > > would do that automatically, kind of like the ASP2PHP tool. > > > > Any help is appreciated. > > >

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>