Registry and CGI::Carp

2012-01-27 Thread Brett Lee
Hi Folks, Running several scripts under ModPerl::Registry that use CGI::Carp.  Am seeing problems with the logging.  The message that is logged is correct, however the name of the script that generated the event is not. Each script contains a line similar to: use CGI::Carp

Re: preloading modules and apache::dbi

2012-01-18 Thread Brett Lee
Hi Mike, I believe the answer is that each http process will have its own handle.  At least that's what it appears to be when I view the handles via http://hostname/perl-status. Hope you enjoy mod_perl.   Best regards, - - Brett Lee Encrypt your data with PDS - http://crypto.brettlee.com

Re: Registry and mod_include - multiple invocations of a script in an SSI-parsed file

2012-01-11 Thread Brett Lee
Thanks for the reply Mårten, Sorry, should have posted that I found the (same) answer a few days back. http://www.perlmonks.org/?node_id=946773 Didn't hear a peep from the list after a couple attempts, so abandoned the query.   Best regards, - - Brett Lee Encrypt your data with PDS - http

Re: Registry and mod_include - multiple invocations of a script in an SSI-parsed file

2012-01-05 Thread Brett Lee
!   Best regards, - - Brett Lee Encrypt your data with PDS - http://crypto.brettlee.com/ From: Brett Lee brett...@yahoo.com To: modperl@perl.apache.org modperl@perl.apache.org Sent: Monday, January 2, 2012 2:41 PM Subject: Registry and mod_include - multiple

Registry and mod_include - multiple invocations of a script in an SSI-parsed file

2012-01-02 Thread Brett Lee
Sure seems like something is caching part or all of the command/param.  Hoping to find out what. Once again, thanks for your time consideration. Note: previously posted at: http://www.perlmonks.org/?node_id=945804 Best regards, - - Brett Lee Encrypt your data with PDS - http

Module fails - but nothing is logged

2008-02-09 Thread brett lee
So I've been running my shiny new perl module for a couple weeks now without any issues. I call the module (Nav::Ad) four times (header, footer, left, right) from each of my Registry scripts. The Registry scripts parse a html file and decide whether to execute the module or just print out

Re: Question about open()

2008-02-07 Thread brett lee
Another option: my $HEADER= $ENV{DOCUMENT_ROOT}/header.shtml; - Original Message From: Roberto C. Sánchez [EMAIL PROTECTED] To: modperl@perl.apache.org Sent: Wednesday, February 6, 2008 8:10:08 PM Subject: Re: Question about open() On Wed, Feb 06, 2008 at 10:06:05PM

Saving Session State

2008-02-06 Thread brett lee
Hello, With some help from this board I've been able to get my project running well under ModPerl::Registry - am even using two of my own (woopie !) modules, so thanks all. Am now trying to save session state on the server; am again seeking some guidance. Have tried using CGI::Session (3.95,

Re: Saving Session State

2008-02-06 Thread brett lee
Have tried using CGI::Session (3.95, 4.10, 4.20) but am continually seeing two issues that appear to still be open issues with the latest (is it the final?) release. What issues are you having trouble with? Mark is one of the more responsive CPAN

Solution - Saving Session State

2008-02-06 Thread brett lee
Also, the 4.10 doc writes: $session = new CGI::Session(undef, undef, {Directory='../tmp/sessions'}); I've tried ../tmp/sessions and /tmp/sessions. Have never seen anything in ../tmp/sessions (relative to /cgi-bin or DOC ROOT) but I do see sessions (sometimes)

Solution - Re: /perl-status shows no compiled registry scripts

2008-01-25 Thread brett lee
Message From: brett lee [EMAIL PROTECTED] To: mod_perl list modperl@perl.apache.org Sent: Wednesday, January 23, 2008 10:38:17 AM Subject: /perl-status shows no compiled registry scripts Am running on a newer OS and not seeing any compiled registry scripts when looking at /perl-status. Am

Caching Packaging

2008-01-09 Thread brett lee
Hello - Am executing several CGI scripts under mod_perl using Apache::Registry (I hope that terminology is correct). As I understand it, the scripts get cached in each httpd thread the first time that thread executes them. Is this correct? So when I change a script, do I need to restart