Problem getting started

2008-07-11 Thread John M. Dlugosz
I'm trying to use mod_perl on Debian Etch. I was looking at "practical mod_perl" book, but it appears that much has changed in mod_perl 2.0 so the second example doesn't work at all. The first example, which is just two print statements to give a minimal header and content text, is invoked so

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 "HT

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 od

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: 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:

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 refr