Re: handler($$) unreliability

2003-06-15 Thread Philippe M. Chiasson
On Sat, 2003-06-14 at 04:35, Matthew Pressly wrote: I have handler that looks like this: sub handler ($$) { my ($class, $apache) =3D @_; Apache::request($apache); $apache-status(200); # Default #. } This could be related to a recently discovered bug in

Re: each considered harmful?

2003-06-15 Thread Randal L. Schwartz
Marcin == Marcin Kasperski [EMAIL PROTECTED] writes: Marcin You probably see the problem - when this code is re-executed (next Marcin request), the loop iterates just over 'the rest' of the hash. This is similar to the problem that shows up when you use glob in a scalar context... it also has

Re: each considered harmful?

2003-06-15 Thread Marcin Kasperski
Does there exist some way to protect before this problem (some kind of auto-destructor, finally, whatever which would automatically rewind the hash internal iterator while leaving the context)? Not really a mod_perl problem, but you can read about the solution in the docs for each.

Re: each considered harmful?

2003-06-15 Thread Paul Johnson
On Sun, Jun 15, 2003 at 09:35:38PM +0200, Marcin Kasperski wrote: Does there exist some way to protect before this problem (some kind of auto-destructor, finally, whatever which would automatically rewind the hash internal iterator while leaving the context)? Not really a mod_perl

Re: each considered harmful?

2003-06-15 Thread Stas Bekman
Paul Johnson wrote: On Sun, Jun 15, 2003 at 09:35:38PM +0200, Marcin Kasperski wrote: Does there exist some way to protect before this problem (some kind of auto-destructor, finally, whatever which would automatically rewind the hash internal iterator while leaving the context)? Not really a

Re: problem building libapreq on Solaris

2003-06-15 Thread Stas Bekman
Ged Haywood wrote: Hi there, On Fri, 13 Jun 2003, Xavier Noria wrote: Hello, I've just compiled Apache 1.3.27 with mod_perl 1.27 from their tarballs on Solaris. perl is 5.8.0 packaged for Solaris. The installation of libapreq with cpan(1) stops here: [snip] t/httpd -f `pwd`/t/httpd.conf

Re: subroutine redefined

2003-06-15 Thread Stas Bekman
Batara Kesuma wrote: Hi, I tried using ModPerl::Registry with this piece of CGI code: #!/usr/bin/perl -w use CGI; use strict; my $cgi = CGI::-new; print $cgi-header; our $count = 0; for (1 .. 5) { increase_count(); } sub increase_count { our $count; $count++; print $count .

ANNOUNCE: Gestinanna::POF 0.02

2003-06-15 Thread James G Smith
Gestinanna::POF is a collection of modules providing an abstract persistant object framework intended for use by the Gestinanna application framework though it may be used outside of that framework. Gestinanna::POF currently supports Alzabo, MLDBM, LDAP (limited testing), and aggregations of

mod_perl on Solaris notes..

2003-06-15 Thread Ryan Dietrich
Long time lurker (2 years on list I think), first time poster.. I dealt with mod_perl on Solaris during the creation of the Chicago Police Department's mug shot database (running on twin E6800's / Oracle 9i). I was the primary author of this beast, and getting mod_perl to play nicely with

Re: mod_perl on Solaris notes..

2003-06-15 Thread Stas Bekman
Ryan Dietrich wrote: Long time lurker (2 years on list I think), first time poster.. I dealt with mod_perl on Solaris during the creation of the Chicago Police Department's mug shot database (running on twin E6800's / Oracle 9i). I was the primary author of this beast, and getting mod_perl to