Hi,
I'm just curious - what's wrong with the function you're already using?
Mod_Perl hangs on to it's PID, so it's no longer unique. (I _believe_)
TIMESTAMP . $$ . $GLOBAL++
might work just as well (as $global will persist)..
Cheers,
Alex
--
Alex Krohn [EMAIL PROTECTED]
Hi,
With this simple test script:
print Content-type: text/html\n\n;
my $var = 'x' x 50;
our $var = 'x' x 50;
my $sub = sub { my $sub2 = sub { $var; }; };
print Done\n;
$var does not get freed, and the process grows each request. Has anyone
seen this sort of
Hi,
With this simple test script:
print Content-type: text/html\n\n;
my $var = 'x' x 50;
my $sub = sub { my $sub2 = sub { $var; }; };
print Done\n;
$var does not get freed, and the process grows each request. Has anyone
seen this sort of behavior and have any ideas/workarounds (besides
you the module
for a quote.
Cheers,
Alex
Gossamer Threads Inc. --
Alex KrohnEmail: [EMAIL PROTECTED]
Internet Consultant Phone: (604) 687-5804
http://www.gossamer-threads.com Fax : (604) 687-5806
request automatically? I haven't been able to figure out if
this is possible, the only thing I can see is adding the subroutine call
after the use manually.
Any ideas?
Cheers,
Alex
Gossamer Threads Inc. --
Alex KrohnEmail: [EMAIL
Hi!
I'm running mod_perl 1.23/apache 1.3.12/perl 5.005_03 on Mandrake 7.
mod_perl seems to be up and running and things are working well.
However, I add:
Location /test
SetHandler perl-script
PerlHandler My::Test
/Location
and Test.pm looks like:
sub handler {
my $r = shift;
Hi!
I'm trying to get Apache::VMonitor to load on a new mod_perl 1.23/Apache
1.3.12/perl 5.005_03 installation. mod_perl is up and running fine,
however I can't get Apache::VMonitor working. If I add
use Apache::VMonitor;
to my startup file, I can't start httpd, I get:
[root@alex
Hi,
I'm trying to build mod_perl with Apache 1.3.9 and mod_perl 1.21. I'm
running into the exact same problem described in this thread:
http://www.progressive-comp.com/Lists/?l=apache-modperlm=92818993410677w=2
Basically, make returns:
/gen_test_char test_char.h
Hi,
Thanks for the response!
Well, I really can't tell what your problem is; many people use apache
1.3.9 and mod_perl 1.21 with dynamic linking on BSDI 4.0.1. However,
I must admit this whole area is a bit of a black art to me. Two
questions:
1) Was libperl.so installed correctly when
foobar($in);
sub foobar {
my $in = shift;
print "Sub Value: ", $in-param('val'), "\n";
}
#
The script works normally. I'm not quite sure what's going on. =) Have I
just missed something obvious?
Cheers,
Alex
. --
Alex KrohnEmail: [EMAIL PROTECTED]
Internet Consultant Phone: (604) 687-5804
http://www.gossamer-threads.com Fax : (604) 926-9320
11 matches
Mail list logo