Hallo,
wenn ein
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "Hallo Welt";
nicht läuft, vorausgesetzt die shebang stimmt, was bei Dir der Fall ist, stimmt was mit dem Server nicht.
Btw.,
print "Content-type: text/plain\n\n";
Try
print "Content-Type: text/plain\n\n";
t => T
Möglicherweise hat der Apache ein Problem damit (hatte ich auch schon).
Viele Grüße vom Buzzer