handler using a module

2008-02-14 Thread Raymond Wan
Hi all, I have written a handler to take care of requests and there is something unexpected [to me, anyway :-) ] happening which may be my fault, but I was wondering if someone can explain it to me. Perhaps there is a problem with my programming style. The code is long, so I'll briefly

AW: MP1 - MP2 migration Problems.

2008-02-14 Thread Petry Roman, IT
Hello again, i did a new setup of our Apache and mod_perl2 with your hint´s.. Configured again some startup.pl stuff. but no luck 8-) Error is still the same in error.log from apache. [Thu Feb 14 14:33:58 2008] [error] [Thu Feb 14 14:33:58 2008] -e: Can't locate object method request via

Re: MP1 - MP2 migration Problems.

2008-02-14 Thread Rafael Caceres
Andre, On Wed, 2008-02-13 at 23:00 +0100, André Warnier wrote: Of course, what I forgot to mention below - and sorry if you know that already - is that whichever perl modules you pre-load in your main Apache server config via the startup.pl script, you do not need to use anymore in all

Re: handler using a module

2008-02-14 Thread Raymond Wan
Hi Marcel, Marcel Greter wrote: I can only tell why myHandler::myFunction () is working. I think you export the myFunction in Module myOwnFunctions. I assume you didn't post that part of the code? Ah, yes -- I didn't think that was doing it but yes, I also have: require Exporter; our @ISA

Re: [MP2][QUESTION]Session and inactivity

2008-02-14 Thread Perrin Harkins
On Thu, Feb 14, 2008 at 2:01 AM, titetluc titetluc [EMAIL PROTECTED] wrote: All of these modules propose an expiration mechanism, but they do not propose a mechanism to automatically destroy session at expiration (this is what I call a callback mechanism). This implies that the session

Re: handler using a module

2008-02-14 Thread Malcolm
On Thursday 14 February 2008 08:33:34 am Raymond Wan wrote: So in an HTML file that will be processed by Mason, I call myFunction () and it says it is undefined. This surprised me since I indicated that I am using myOwnFunctions in the handler with the use directive. Is that not the way to

Re: MP1 - MP2 migration Problems.

2008-02-14 Thread Perrin Harkins
On Wed, Feb 13, 2008 at 3:08 PM, Petry Roman, IT [EMAIL PROTECTED] wrote: Looks ok i think. Apache.pm is loaded.. So why can´t i get it to work.. damn thing 8-). This is starting to look like a bug in Apache2::compat to me. I think request() is defined in the wrong namespace. I'll try to

Re: MP1 - MP2 migration Problems.

2008-02-14 Thread Randy Kobes
On Thu, 14 Feb 2008, Perrin Harkins wrote: On Wed, Feb 13, 2008 at 3:08 PM, Petry Roman, IT [EMAIL PROTECTED] wrote: Looks ok i think. Apache.pm is loaded.. So why can´t i get it to work.. damn thing 8-). This is starting to look like a bug in Apache2::compat to me. I think request() is

svn commit: r627753 - /perl/Apache-Reload/trunk/MANIFEST

2008-02-14 Thread phred
Author: phred Date: Thu Feb 14 06:13:58 2008 New Revision: 627753 URL: http://svn.apache.org/viewvc?rev=627753view=rev Log: Forgot to include all.t in the MANIFEST - perhaps I should follow my own additions to RELEASE :) Thanks to Steve Hay for the spot. Modified: