Re: mod_perl 1.24 testing keeps failing

2000-06-02 Thread David Mitchell
> > [Thu May 25 19:34:31 2000] [error] mod_ssl: Init: Failed to generate temporary 5 > > 12 bit RSA private key Sorry, I missed the earlier discussion on this (so I may have got the wrong end of the stick), but I got this too when trying to build apache 1.3.12 with perl-5.6.0 and mod_ssl 2.6.4,

Patch for 5.6.0 coredump / Bizarre copy

2000-06-09 Thread David Mitchell
A patch has just been released for Perl 5.6.0, which fixes some, (or hopefully all!) of the bugs which cause coredumps or 'Bizarre copy of HASH/ARRAY' runtime errors in the general vicinity of Carp::confess(), caller(), @DB::args etc. This certainly fixes the failure in Mason's t/05-request test

Re: Apache::DBI

2000-06-26 Thread David Mitchell
> But I run apache I get: > utechnology# ./apachectl start > defined(@array) is deprecated at > /usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 135. > (Maybe you should just omit the defined()?) > ./apachectl start: httpd started Perl 5.6.0 has introduced a new warning when it see

Re: Can't find Apache::DBI on Win32 version

2000-07-04 Thread David Mitchell
> This worked but now I get upon start up of the apache httpd daemon: > > defined(@array) is deprecated at c:/Perl/site/5.6.0/lib/Apache/DBI.pm > > line 135 (Maybe you should just omit the defined()?) Just edit c:/Perl/site/5.6.0/lib/Apache/DBI.pm, deleting the 'defined' on line 135 :-)

Re: new multipart_buffer patch for libapreq

2000-07-05 Thread David Mitchell
[EMAIL PROTECTED] wrote > The patch I posted yesterday has a problem > dealing with client disconnects - your server will hang if > the upload is interrupted )! > > This new patch should be ok. Your patch uses memmem(), which isn't available on some OSes (eg Solaris). Also, the linux manpage

Re: Apache::Leak

2000-07-10 Thread David Mitchell
> According to the error log output, I'm leaking anything between 15 and > 25 SVs per run of the Apache::Registry script. So, to interpreting the > copious emissions: > > new fb1d58 : SV = PVAV(0xffee88) > REFCNT = 1 > FLAGS = (PADBUSY,PADMY) > IV = 0 > NV = 0 > ARRAY = 0x0 > ALLOC =

Re: Interfacing from Apache to Access

2000-07-11 Thread David Mitchell
> From: Eric Strovink <[EMAIL PROTECTED]> wrote: > Write a simple socket interface to connect Apache Perl to your existing Windoze Perl script (which you'll hack to set up as a simple server). Invent your own protocol. Locking issues will come > up, but you can manage this yourself with a litt

Re: how to check for ssl.

2000-08-04 Thread David Mitchell
> I've got a section of our site where I want to force the user to > connect via ssl. > Inside of mod_perl, is there a parameter I can grab to see whether > the connection is ssl or not? Or a way to get the port number? If there isnt a special reason otherwise, why not just put a redirect in h

Re:[OT] @ISA (was: [ANNOUNCE] Apache::Dispatch-0.03282

2000-08-10 Thread David Mitchell
Barrie Slaymaker <[EMAIL PROTECTED]> wrote: > Something like this we3nt by on p5p a while ago (IIRCC): > >@{$main::{"$class\::"}->{ISA}} This only works if $class is not nested, ie it works for X but not for X::Y, eg: --- @X::ISA = qw(foo); @X::Y::ISA = qw(bar); my @isa; my $class; $c

Re: Apache 1.3.12/mod_perl 1.24/Perl 5.6.0 crash

2000-08-11 Thread David Mitchell
George Sanderson <[EMAIL PROTECTED]> wrote: ... > >> Could this be a lack of memory? > munmap(0x2ae2c000, 9736)= 0 > --- SIGSEGV (Segmentation fault) --- > +++ killed by SIGSEGV +++ > Carp::longmess_heavy(/usr/local/lib/perl5/5.6.0/Carp/Heavy.pm:127): > 127:$

RE: Question about $sth->finish;

2000-08-15 Thread David Mitchell
Matt Sergeant <[EMAIL PROTECTED]> wrote: > > This can be demonstrated with a very simple object class with a DESTROY > method. There's a message somewhere in the p5p archives about this from > me. That's http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-03/msg00604.html to save anyone

Re: OT: use problem (need interpolation)

2000-09-28 Thread David Mitchell
> From: Jerrad Pierce <[EMAIL PROTECTED]> > Is there anyway to fool perl into letting you do a: > > use Foo ($bar, 'baz', 'quux'); 'use' lines are executed very early on during script loading: use Foo x y z is roughly equivalent to BEGIN { require Foo; import Foo x y z

Re: confining hash changes to individual httpd child

1999-01-03 Thread David Mitchell
Kevin Ward <[EMAIL PROTECTED]> writes: > I want to make it so that it only highlights the first instance of a term > in a page, so what I did was to delete the term from the hash after it has > been highlighted. The trick, surely, is not to delete entries from the global hash, but add entries t

Re: Storing hashes in Apache::ASP

2000-01-06 Thread David Mitchell
> I've been trying to store a hash in a session variable, using > code like that appended below. Call me a doofus, but I can't > seem to get it to work. Can anybody tell me what I'm doing wrong? You have to store a reference to the hash, ie $Session->{Stuff} = \%stuff; not $Session->{Stu

Re: Storing hashes in Apache::ASP

2000-01-06 Thread David Mitchell
> > You have to store a reference to the hash, ie > > > > $Session->{Stuff} = \%stuff; > > not > > $Session->{Stuff} = %stuff; > > > \%stuff is not a reference to a hash, it's a reference to each key and > value in the hash. I don't think you'll ever have to use \ on arrays or > hashes. The onl