in reply to PRE MATURE END OF SCRIPT HEADERS

Are you sure that CGI::Carp is installed? If not, install it and all should be fine (other than the fact that it was being called indicates some underlying warning or error message from your script).

Update: @INC should contain more than ".". It seems your Perl install is seriously borked. Now it looks that your modules and scripts all live in the same directory. It is not impossible, but it is rather strange.

And please, do not type in 'all caps'. That is shouting and in this Monastery we value a quiet and contemplating atmosphere.

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