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

Dear monks,

Is there any way to compile a c program using perl.
Do any module we have for this.

Replies are listed 'Best First'.
Re: compile c code
by moritz (Cardinal) on Oct 28, 2009 at 07:38 UTC

    You can invoke a C compiler with system or qx - I don't think there's a Perl module that implements a complete C compiler.

    Perl 6 - links to (nearly) everything that is Perl 6.
Re: compile c code
by Anonymous Monk on Oct 28, 2009 at 07:59 UTC