|
|
| "be consistent" | |
| PerlMonks |
Perl is Cby Ovid (Cardinal) |
| on Dec 20, 2001 at 02:49 UTC ( #133308=obfuscated: print w/ replies, xml ) | Need Help?? |
|
Not sure where to put this as it's not obfuscated, but this is my first attempt at writing a program that parses in two different languages. Specifically, this Perl program compiles as C code under Cygwin with:
I'm embarrassed by all of the cheap preprocessor instructions in there. It seems like a cop-out.
Okay, not very good. Shoot me :) Since I did specify -ansi on the command line of the C compiler, I expect that this will work on any C compiler. Cheers, Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
Back to
Obfuscated Code
|
|
||||||||||||||||||||||||||