Re: Document Contains No data error!

Joseph Cherveny (dethwolf@airmail.net)
Tue, 02 Mar 1999 12:19:58 -0600


Check the file for 0 length (-z)  prior to setting the location. It is
usually just a few tenths of a second, but thats all it needs to write the
file.

while (-z "/xwz/ssc/tripreports/index.html") {
  #pause;
 }
print "Location:
http://thisintranet.com/xwz/ssc/tripreports/index.html\n\n";



- Joe Cherveny


"Pancholi, Bipin" wrote:

> Hi all ,
>
> I have one PERL Script , Serving as form, After Sumitting the button it
> pops up with
> Document Conatins No Data Error as repetedly pressing submit button
> makes the form to POST and it works.
>
> I do not understand why this variable number of times the message box of
> document contains no data.
> Is any body has any clue.
>
> -bipin