rambharatreddy has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: PRE MATURE END OF SCRIPT HEADERS
by CountZero (Bishop) on Feb 10, 2009 at 06:48 UTC
    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