it's really outdated...without any fancy gui or c++ libraries, but i still have a copy of TurboC, which compiles C code into non-gui executables just fine. the TurboC editor/environment is so nice an simple....it's a shame that nowadays the IDEs are so bloated/complicated.
the hardest line to type correctly is: stty erase ^H
I would be doubting whether Turbo C can compile Perl though - but would be pleasantly surprised to be proved wrong, you might even get away with using the Borland C instructions and substituting tcc for bcc in the Makefile.