Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Since I know a guy who works in PHP and I work in Perl, I was wondering if there is a module that can change some of the code from PHP to Perl and/or vise versa. Also, are there any Perl codes that can create certain kinds of files, such as "C" files and even .exe files?

-Jason, the estranged programmer

Replies are listed 'Best First'.
Re: Must find the Module...
by Juerd (Abbot) on Jul 02, 2002 at 09:25 UTC

    I was wondering if there is a module that can change some of the code from PHP to Perl and/or vise versa.

    No, there is no such module or program.

    Also, are there any Perl codes that can create certain kinds of files, such as "C" files and even .exe files?

    I'm not sure what "Perl codes" are, but maybe you mean perlcc (or perhaps the other way around (Inline::C)?) There are some commercial perl-to-exe programs.

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.
    

Re: Must find the Module...
by PerpLexicon (Novice) on Jul 02, 2002 at 18:31 UTC
    If you're developing for Windows environments, there are a couple of "compilers" available (they don't really _compile_ the program, but what the heck).

    Perl2Exe from IndigoStar(formerly known as DynamicState): http://www.indigostar.com/perl2exe.htm
    Perl Dev Kit from ActiveState: http://www.activestate.com/Products/Perl_Dev_Kit/

    The Perl Dev Kit also allows you to install your perl scripts as NT Services.