in reply to
Re^2: Print to Browser Headers Not Working
in thread Print to Browser Headers Not Working
Google gives some good results:
Basically, you need to enable the ExecCGI option for the directories your scripts are situated in and make sure that executable (chmod +x) files with .pl extension are considered CGI (by using AddHandler directive).
Sorry if my advice was wrong.