Re: How Can I Install ModPerl on My ISP-based Website???

2002-11-24 Thread Stas Bekman
David Simcik wrote: Thanks for the link... So basically, according to the link listed below, there IS NO good way to install modperl for just a local user account (I can't work some .htaccess magic,etc.?)? I guess that would make sense -- seems like modperl is tightly bound with the apache

Re: passing Apache::Request object

2002-11-24 Thread Stas Bekman
Marc Lambrichs wrote: Hi All, I want to save my Apache::Request object in an PerlInitHandler called Initialization and later on during the life cycle of the request call a Initialization-get_request() method to use it again. perldoc Apache::Request: instance The

Re: Where do you specify APR::HOOK...

2002-11-24 Thread Stas Bekman
Erich Oliphant wrote: Ok, thanks now it makes sense ;) It's in the mp2 docs and it wasn't clear if it was not implemeted or the docs were behind the code. Maybe you guys could stick a note on it or something. done. - Original Message - From: Stas Bekman [EMAIL PROTECTED] To: Erich

Reading configuration problem under mod_perl2

2002-11-24 Thread Yuriy Syrota
Hello, folks. I'm porting apache module (from version 1 to version 2) and got the following problem: The module can't read itself configuration from httpd.conf. I traced out ap_find_command_in_modules() in httpd and realized that in this function modules list doesn't contain my module's entry.

Re: Problem using variable with @PerlSetVar

2002-11-24 Thread Stas Bekman
Christopher Grau wrote: Hi, I have a fairly simple problem, but haven't had much luck finding the solution on Google or the mailing list archives. Basically, I have this code in httpd.conf: Perl print Enter some value you don't want written down: ; my $value = STDIN; chomp $value;

Re: Reading configuration problem under mod_perl2

2002-11-24 Thread Stas Bekman
Yuriy Syrota wrote: Hello, folks. I'm porting apache module (from version 1 to version 2) and got the following problem: The module can't read itself configuration from httpd.conf. I traced out ap_find_command_in_modules() in httpd and realized that in this function modules list doesn't contain

Re: How sub handler was called.

2002-11-24 Thread Stas Bekman
Stas Bekman wrote: Ruslan U. Zakirov wrote: Hello, all! May I understand in my handler sub how it was called? Was it called by Apache process in stacked handlers chain or it was called by some other module with call MyMod::handler($r)? Could i do it without adding some special parametrs?

NEWBIE: Apache and Apache Cookie Module missing?

2002-11-24 Thread Joe Palladino
I have a Redhat 7.3 system running Apache 1.3.23, perl 5.6.1, and the latest updates. I am trying to do something very simple, set a cookie and read it. I ran perl -MCPAN -e shell and installed libnet, Bundle::Apache, etc. I put the following in my httpd.conf PerlModule Apache PerlModule

Subroutine main redefined?

2002-11-24 Thread Jan Theofel
Hello, I have a very simple perl script which I try to run with Apache::PerlRun. After changing the directory section in the apache configuration file and a restart I get no repsonse to my client and the error file fills with: [Sun Nov 24 17:59:45 2002] shop.pl: Subroutine main redefined at

Re: NEWBIE: Apache and Apache Cookie Module missing?

2002-11-24 Thread Randy Kobes
On Sun, 24 Nov 2002, Joe Palladino wrote: I have a Redhat 7.3 system running Apache 1.3.23, perl 5.6.1, and the latest updates. I am trying to do something very simple, set a cookie and read it. I ran perl -MCPAN -e shell and installed libnet, Bundle::Apache, etc. I put the following in

MySQL prepared sql statements?

2002-11-24 Thread Bas A . Schulte
Hi, I'm wondering if I would gain (some) performance by preparing my sql statements once during ChildInit when using MySQL? Does it cache execution plans for sql statements? I know it makes a big difference on Oracle but I'm not sure what MySQL is like in this respect. Regards, Bas.

Re: MySQL prepared sql statements?

2002-11-24 Thread David Wheeler
On Sunday, November 24, 2002, at 01:08 PM, Bas A.Schulte wrote: I'm wondering if I would gain (some) performance by preparing my sql statements once during ChildInit when using MySQL? Does it cache execution plans for sql statements? I know it makes a big difference on Oracle but I'm not

Re: MySQL prepared sql statements?

2002-11-24 Thread Stas Bekman
David Wheeler wrote: On Sunday, November 24, 2002, at 01:08 PM, Bas A.Schulte wrote: I'm wondering if I would gain (some) performance by preparing my sql statements once during ChildInit when using MySQL? Does it cache execution plans for sql statements? I know it makes a big difference on

Re: Subroutine main redefined?

2002-11-24 Thread Stas Bekman
Jan Theofel wrote: Hello, I have a very simple perl script which I try to run with Apache::PerlRun. After changing the directory section in the apache configuration file and a restart I get no repsonse to my client and the error file fills with: [Sun Nov 24 17:59:45 2002] shop.pl: Subroutine

Re: Problem with Stream-oriented Output Filter

2002-11-24 Thread Stas Bekman
Esteban Fernandez Stafford wrote: [...] As you can see the filter is called twice and therefore there is one line that gets broken in two. I could always store $left_over in the context of the filter and prepend it to what I read when the filter starts again. But the problem I find is that I have

NEWBIE:mod_perlincluded in Solaris package

2002-11-24 Thread T.Shichijo
Hi, I am makeing Solaris package which included Apache1.3.27+mod_perl,mod_ssl on my Server (pkg1). I used Solaris package of perl5.6.1 ,conmpiled on my other server (pkg0) for mod_perl confguration. and I installed this package(Apache+mod_perl) in my testserver(test1).

Re: [OT] Stack Operation

2002-11-24 Thread Ryan Thompson
Jonathan M. Hollin wrote to [EMAIL PROTECTED]: Can anyone offer me some pointers (pun intended) on how to implement a stack in Perl with an array? Perl has two simple builtin functions for treating an array like a stack. See push() and pop(). Basically: my @stack; push @stack, e3; push

RE: [OT] Stack Operation

2002-11-24 Thread Ryan Thompson
Tim Tompkins wrote to Ben Mathews: Honestly, I didn't see where any of those libs would assist what the poster wanted to accomplish. What's wrong with splice? For implementing a traditional stack, the splice operation (or any operation which has to rearrange the list every time an element is

Re: [OT] Stack Operation

2002-11-24 Thread Tim Tompkins
But push()ing and pop()ing is not what the original poster wants to do. He wants to splice(). It doesn't matter if he's talking about treating a stack in the traditional sense, and it doesn't matter that splice is not as efficient as push or pop. What matters is that he knows how to accomplish

Static mod-perl with apache 1.3.27 on OS 10.2.2

2002-11-24 Thread Randall Perry
Trying to compile static mod-perl using the following configs. Everything runs without error, except libperl.a is never built in apache_1.3.27/src/modules -- get the following error: === src/modules/libperl.a /bin/sh: cd: libperl.a: No such file or directory Can someone help? -- Randall Perry

Re: [OT] Stack Operation

2002-11-24 Thread Stas Bekman
Tim Tompkins wrote: But push()ing and pop()ing is not what the original poster wants to do. He wants to splice(). It doesn't matter if he's talking about treating a stack in the traditional sense, and it doesn't matter that splice is not as efficient as push or pop. What matters is that he

Re: Static mod-perl with apache 1.3.27 on OS 10.2.2

2002-11-24 Thread Stas Bekman
Randall Perry wrote: Trying to compile static mod-perl using the following configs. You don't say what configs. Please review the build process at: http://perl.apache.org/docs/1.0/guide/install.html moreover when reporting problems make sure to follow these guidelines:

[Win32] perl-5.8 repository

2002-11-24 Thread Randy Kobes
I've set up a ppm repository at http://theoryx5.uwinnipeg.ca/ppms/ for ppm packages compatible with the beta release of Win32 ActivePerl 8xx (based on perl-5.8). This can also be accessed by setting, within the ppm shell, the repository to

Re: [Win32] ActivePerl-5.8 beta released

2002-11-24 Thread Randy Kobes
On Sat, 9 Nov 2002, Juergen Heckel wrote: Randy Kobes wrote: Of relevance to mod_perl-2 Win32 users, ActivePerl just released a beta version of their perl-5.8 binary; see http://www.activestate.com/Products/ActivePerl/ Hi, I tried this version (msi-package) with mod_perl-2.0 (latest

Re: [Win32] nmake error compiling mod_perl.so

2002-11-24 Thread Randy Kobes
On Thu, 7 Nov 2002, jheckel wrote: Hi since two weeks I can no longer compile the mod_perl-2.0 package from the snapshot server without errors. The last good compilation was 10/27/2002:-( Apache version 2.0.44-dev, WinXP, Perl 5.6.1 Build 633. [ .. ] Access.obj : error LNK2001: