in reply to How can I find a 'Document contains no data' problem?
One that kills me sometimes when I'm not paying attention: make sure your script is using line breaks that match the system your server is running. I often write my perl in BBEdit on my Mac, but I have to save with DOS or UNIX linebreaks for them to run properly on a server. When I don't the "Document contained no data" is the error it gives me.
|
---|
In Section
Seekers of Perl Wisdom