Strange message in web page

2008-07-11 Thread Raymond Wan
Hi all, I'm receiving a strange message which I think is caused by something I'm doing with modperl and/or Mason, but I'm not sure what to look for. Basically, I have a page which refreshes every 3 seconds waiting for some spawned child process to complete. When it completes, it stops

Re: How to debug bizarre memory corruption in mod_perl

2008-07-11 Thread David Kaufman
Hi Mark, Mark Hedges [EMAIL PROTECTED] wrote: David Kaufman wrote: my $foo = 'bar' if $baz; I wish it would still DWIM, and by that I mean the compiler should detect my declaration + assignment + conditional and rewrite it for me as what I meant which was simply: my $foo = $baz

Re: Strange message in web page

2008-07-11 Thread John Gateley
On Fri, 11 Jul 2008 18:57:10 +0900 Raymond Wan [EMAIL PROTECTED] wrote: ... but it also displays this at the top of the page: null device 1 HTTP/1.1 200 OK Date: Fri, 11 Jul 2008 09:40:57 GMT ... You are printing null device 1 to stdout somewhere in your code before you print the

Re: Strange message in web page

2008-07-11 Thread Raymond Wan
Hi John, I see...I didn't know it was possible to print anything before headers... I am not printing that statement, as far as I know, but maybe a library I am using is. I will look into it... So, the part after HTTP/1.1 ..., why is that shown? Is that a web server setting? What is odd

Re: Strange message in web page

2008-07-11 Thread Ronald J Kimball
On Sat, Jul 12, 2008 at 12:10:52AM +0900, Raymond Wan wrote: Hi John, I see...I didn't know it was possible to print anything before headers... I am not printing that statement, as far as I know, but maybe a library I am using is. I will look into it... So, the part after HTTP/1.1