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 php script gets executed (choosing tmp filename, filling $_FILES etc).
AFAIK PHP can't do everything Perl can (ex download progress),
so automatic translations are not possible unless very simple/specific cases.
Some translation problems are
- very different OO models
- different handling of references
- and, as suggested by Raditha, in Perl, TIMTOWTDI
-- There Is More Than One Way To Do It
Does anyone know of any tool that can handle this type of thing?
/dev/brain :-)
Christophe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php