Re: [PHP] perl to php translation tool?

2004-11-22 Thread Raditha Dissanayake
Greg Donald wrote: On Mon, 22 Nov 2004 13:37:42 +0100, Markus Mayer <[EMAIL PROTECTED]> wrote: I've searched for a tool that would translate, or at least mostly translate, perl scripts into php, unfortunately with no success. I didn't even find a reference in the archives of this list to this s

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Greg Donald
On Mon, 22 Nov 2004 13:37:42 +0100, Markus Mayer <[EMAIL PROTECTED]> wrote: > I've searched for a tool that would translate, or at least mostly translate, > perl scripts into php, unfortunately with no success. I didn't even find a > reference in the archives of this list to this subject, which su

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Markus Mayer
I was afraid of such answers. My intention was to get rid of a fewperl scripts on our server that were written by external companies, and those companies are pressing to continue to use perl for their cgi's. /dev/brain would be nice, if I could get that node made at those companies but it

Re: [PHP] perl to php translation tool?

2004-11-22 Thread John Nichel
Christophe Chisogne wrote: /dev/brain :-) Are we sure that is included with all new OS's? ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Christophe Chisogne
Markus Mayer wrote: I've searched for a tool that would translate, or at least mostly translate, perl scripts into php, unfortunately with no success. It's simply impossible. By example, a Perl script handling file uploads cant be translated automatically : php4 handles file uploads _before_ the

Re: [PHP] perl to php translation tool?

2004-11-22 Thread Raditha Dissanayake
Markus Mayer wrote: Hello everyone! I've searched for a tool that would translate, or at least mostly translate, perl scripts into php, unfortunately with no success. I didn't even find a reference in the archives of this list to this subject, which surprises me. Does anyone know of any tool t

[PHP] perl to php translation tool?

2004-11-22 Thread Markus Mayer
Hello everyone! I've searched for a tool that would translate, or at least mostly translate, perl scripts into php, unfortunately with no success. I didn't even find a reference in the archives of this list to this subject, which surprises me. Does anyone know of any tool that can handle this

[PHP] perl to php converter

2003-08-14 Thread Louie Miranda
is there such a thing? perl to php converter? i will try to convert movabletype to php, if ever. -- Thank you, Louie Miranda ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Perl to PHP (Was XML Parsing)

2003-07-17 Thread Curt Zirzow
Doug La Farge <[EMAIL PROTECTED]> wrote: > [...] > After that, how would this convert: > > $quote{class_name} = $text; > quote is a hash where class_name is the key. Php treats arrays and hashes the same, infact there really isn't any difference with them. so the syntax is always the same for ha

[PHP] Perl to PHP (Was XML Parsing)

2003-07-17 Thread Doug La Farge
First let me thank Tyler Lane for pointing out my XML issue. I'm an idiot (= vs. ==) was holding me up. D'uh! Now allow me to ask a Perl to PHP conversion question or three. As any Perl and PHP programmer is aware PHP does not have the cool reference thing going that Perl does (yeah, I hear th

[PHP] Perl to PHP

2001-09-12 Thread programmer
Here is a chunk of code: while( /hidden name=(.*?)>/gs ) { # see if there was some kind of error if(index($1, "ERROR") == 0) { $errstring = $1; $errstring =~ ( /value="(.*)"/ ); print "Error on preview

[PHP] PERL TO PHP

2001-09-11 Thread programmer
Can anybody help me convert this perl code to PHP This line in particular while( /hidden name=(.*?)>/gs ) { but I have included more of the source below: Thanks in Advanace Randy undef $/; #print "$curlargs"; #print "$sysstring"; open(foo, "$sysstring|") || die ("Failed FO $!_"); while(){

Re: [PHP] PERL to PHP

2001-02-26 Thread David Robley
On Tue, 27 Feb 2001 01:28, Clayton Dukes wrote: > > Hi :-) > Can someone tell me how to do the equivalant of this Perl script in > PHP? > > ### > ### This function prints all lines between the dashes read in a text > file ### > ### The file looks like this: > > # - > #

Re: [PHP] PERL to PHP

2001-02-26 Thread Clayton Dukes
How? I don't know perl all that well, I am just trying to convert some scripts. - Original Message - From: "kevin1" <[EMAIL PROTECTED]> To: "Clayton Dukes" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 10:29 AM

Re: [PHP] PERL to PHP

2001-02-26 Thread kevin1
your can use the PCRE functions in php - much better than ereg and all that - if you know perl already... Clayton Dukes wrote: > > > Hi :-) > > Can someone tell me how to do the equivalant of this Perl script in PHP? > > > > ### > ### This function prints all lines between the dashes re

[PHP] PERL to PHP

2001-02-26 Thread Clayton Dukes
  Hi :-) Can someone tell me how to do the equivalant of this Perl script in PHP?   ## This function prints all lines between the dashes read in a text file### ### The file looks like this:   # - # Somedata:   something # Someother:  something else # -