in reply to Document Contain No Data
Add this to the beginning of your script:
use CGI::Carp 'fatalsToBrowser'; [download]
And, if you can, parse your Apache error log. (sorry, I assume you're using Apache - correct me if wrong :)
cLive ;-)