Re: Are global variables truly global?

2001-11-05 Thread Dominique Quatravaux
> I have some state data that I need to persist between requests. At the > moment these are COM objects, but they'll be ported to Perl Classes. It > is quite important that only one of these instances exist per web > server. These instances are too large to write and read to file on every > reques

RE: Are global variables truly global?

2001-11-05 Thread Matt Sergeant
> -Original Message- > From: Chui G. Tey [mailto:[EMAIL PROTECTED]] > > package Apache::MyPkg; > > my $COM_instance; > > sub handler { > >if (!$COM_instance) { >$COM_instance = Win32::OLE->new("ProgID.Class"); >} > > } > > Will the different child processes created by

problems with mod_perl-1.26 and perl 5.00503

2001-11-05 Thread Silvio Wanka
Hi, our apache web server must run on a HP-UX system, so we are not able to switch to perl 5.6 (core dump by any %SIG access in mod_perl context). So we use perl 5.00503 and mod_perl-1.25. Now we wont update to mod_perl-1.26 but where are some real problems: 1. test 4 (file upload) fails in m

Re: Shutdown

2001-11-05 Thread Patrick
[I'm keeping the ml in Cc: to be sure you catch it if problems, and because other may offer same services] On Fri, Nov 02, 2001 at 09:48:52AM -, Matt Sergeant took time to write: > This is sad indeed. Once everything is up and running again I'll write a > complete document of the nightmares t

SegFault report with backtrace

2001-11-05 Thread karnurme
Hello! Here is a simple Test.pm handler that causes segfaults in our server. The Test.pm uses XS for creating configuration settings. The purpose is to set 'Testing' flag on or off in .htaccess files. I tried to make the module as simple as possible. The specifications are in the attac

Perl Handlers and namespaces.

2001-11-05 Thread Guillaume
I ran into this problem today. I am trying to develope a small application server with a few handlers and Apache/1.3.22 . So I have something that looks like this set up in the apache conf file: Allow from all PerlRequire "startup.pl" SetHandler perl-script PerlHandler Ap

mod_perl-1.26, threads and LWP.pm

2001-11-05 Thread Toni Andjelkovic
i will need to request an external URL multiple (several hundred) times, where each request contains a different "arg". then i need to process each response: http://foo/bar?arg=84375 http://foo/bar?arg=43896 http://foo/bar?arg=98945 ... the problem is that i need to do this from

Re: mod_perl-1.26, threads and LWP.pm

2001-11-05 Thread Ken Y. Clark
On Mon, 5 Nov 2001, Toni Andjelkovic wrote: > Date: Mon, 5 Nov 2001 22:43:32 +0100 > From: Toni Andjelkovic <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: mod_perl-1.26, threads and LWP.pm > > i will need to request an external URL multiple > (several hundred) times, where each request co

_session_id-problem with Apache::Session::Store::Postgres

2001-11-05 Thread Christoph Lange
Hi, sorry, this is not exactly a mod_perl question but I hope somehow in the wake of this issue. Apache::Session::Store::Postgres problem: After the initial login to my page, I define and tie a %session which produces a _session_id that is totally different from what it stores in the sessions-t

Re: SegFault report with backtrace

2001-11-05 Thread Ged Haywood
Hi there, On Mon, 5 Nov 2001 [EMAIL PROTECTED] wrote: > Here is a simple Test.pm handler that causes segfaults in our server. Last year I had a Test.pm that caused segfaults too, on Solaris boxes. By accident I discovered that the segfaults went away when I renamed the file! At the time I was

Re: Perl Handlers and namespaces.

2001-11-05 Thread Stas Bekman
Guillaume wrote: > I ran into this problem today. I am trying to develope a small > application server with a few handlers and Apache/1.3.22 . > > So I have something that looks like this set up in the apache conf file: > > > > Allow from all > >PerlRequire "startup.pl" >

Re: SegFault report with backtrace

2001-11-05 Thread karnurme
> > Here is a simple Test.pm handler that causes segfaults in our server. > By accident I discovered that the segfaults went away when I renamed > the file! At the time I was doing some work for a company in London, Thanks for idea! I'm afraid that the segfault report may be affected by the nam

ANNOUNCEMENT: HTML::Template::Expr 0.02

2001-11-05 Thread Sam Tregar
CHANGES - Fixed bug where numeric functions all returned 1. (reported by Peter Leonard) - Improved performance over 300% with a new grammar and expression evaluator. - Enhanced grammar to support call(foo > 10) syntax. DESCRIPTION This module provides an extension to HTML::Template which