Re: [Fwd: Re: Cheap and unique]

2002-04-30 Thread Alex Krohn
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]

Re: memory leaking with closures

2001-09-07 Thread Alex Krohn
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

memory leaking with closures

2001-09-06 Thread Alex Krohn
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

[JOB] Contract XS Job

2001-05-17 Thread Alex Krohn
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

init handler possible?

2000-11-23 Thread Alex Krohn
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

error in Apache::Util

2000-04-28 Thread Alex Krohn
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;

Apache::VMonitor not loading..

2000-04-26 Thread Alex Krohn
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

make problems on BSDI 4.01

1999-12-28 Thread Alex Krohn
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

Re: make problems on BSDI 4.01

1999-12-28 Thread Alex Krohn
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

CGI.pm not maintaing values..

1999-11-06 Thread Alex Krohn
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

Re: CGI.pm not maintaing values..

1999-01-03 Thread Alex Krohn
. -- Alex KrohnEmail: [EMAIL PROTECTED] Internet Consultant Phone: (604) 687-5804 http://www.gossamer-threads.com Fax : (604) 926-9320