in reply to Premature end of script headers Error ..Help me

Add
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
to your scripts and see the raw Perl error messages and warnings on the screen rather than in the error log.

Also make sure that all your scripts run under the usual strictures use strict; use warnings;

If that does not give you a better clue to solve the prioblem post the error and warning messages here and we will look again.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics