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: How to debug bizarre memory corruption in mod_perl

2008-07-10 Thread David Kaufman
Hi Stephen, Stephen Clouse [EMAIL PROTECTED] wrote ... ...I did manage to figure out the issue today. You may or may not be surprised to find it was this: my $foo = bar if $baz; Yikes! My bad :-) It must've been a different scary memory error that I encountered with List::Util.

Re: How to debug bizarre memory corruption in mod_perl

2008-07-09 Thread David Kaufman
Stephen Clouse [EMAIL PROTECTED] wrote: Under [mod_perl 2 and perl 5.10 on Fedora 9] I am getting some of the most bizarre and insidious perl core errors I've ever seen in my 15 years of using perl. Attempt to free unreferenced scalar: SV 0xbd266be4, Perl interpreter: 0xba01c410 at

Re: mod_perl2 newbie DBI question

2008-06-12 Thread David Kaufman
Hi Brian, Brian Gaber [EMAIL PROTECTED] wrote... my $region = param('region'); # ... my $sth = $dbh-prepare( SELECT * FROM region_props WHERE region = '$region' ); Works fine a few times and then: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that

Re: mod_perl and CGI::Application.. Strange Behaviour

2007-10-28 Thread David Kaufman
Hi Dileep, Dileep Eduri [EMAIL PROTECTED] wrote... ...its printing the http headers as well. if I turn of http headers, then nothing is getting printed..weird !!! Not weird at all. Read the CGI::Application docs -- you should never print from a run-mode: Perl Module = First.pm package

Re: mod_perl MVC framework.

2007-10-24 Thread David Kaufman
Tyler Bird [EMAIL PROTECTED] wrote... Hi List, Hi Tyler, Hey I was wondering if there was any MVC framework that anybody on this list could point me to that work work well with mod_perl. We are having difficulty finding a good MVC framework for perl. /me points you to - CGI::Application