Hi all:
In mod-perl,my module (mymodule.pm) will read config var from a
file ( require conf.pm).I put the require in my new() function.
In one instance,they will work well.
But ,I will run two or more instance (the two conf.pm is
different.),the mymodule.pm will have
On 1 Jun 2001, [EMAIL PROTECTED] wrote:
OK, I think I have solved this problem, but I would like to run my solution by
you folks, and see if it makes any sense. What we found, on a more thorough
code review, was that a number of the handlers were doing a redirect by calling
send_cgi_header,
Finally out of beta!!!
The next stable release of AxKit is now available for download.
This is a major release, fixing many bugs, improving functionality,
performance, and flexibility. There is another major update to XSP
functionality, and all taglibs have been released to CPAN updated to the
On Tue, 5 Jun 2001, Matt Sergeant wrote:
Finally out of beta!!!
The next stable release of AxKit is now available for download.
This is a major release, fixing many bugs, improving functionality,
performance, and flexibility. There is another major update to XSP
functionality, and all
I hope I'm not barking up the wrong tree, but I could not find this
in the archive.
I could have _sworn_ that within the last several weeks, someone
had posted here a URL to a document that described, in a handy way,
information for web testers WRT the sorts of details they really
need to supply
Are there any CPAN modules for Apache that are examples of writing a method
handler? The docs in the manpage, the book, and the mod_perl guide are
pretty much all the same (brief) text. A good example would help a great
deal. Thanks.
Randy
--
Hello mod_perl gurus,
Unfortunately, I guess it's time for me to get off the list for a while.
Not enough time during my busy season to devote to getting my mod_perl
application working. Maybe once the snow flies again
I've tried twice to sign off but to no avail. I'm going to have to ask
[EMAIL PROTECTED] (Randy J. Ray) wrote:
Are there any CPAN modules for Apache that are examples of writing a
method handler? The docs in the manpage, the book, and the mod_perl
guide are pretty much all the same (brief) text. A good example would
help a great deal. Thanks.
Apache::AuthCookie
Sorry.I find ,require different configuration file in module is
impossibility.
Have a mistake ,my mandrake box run in cgi environment as a result of
apache configure.
So ,in mod-perl,I dont find any way require different configuration.
-ÔʼÓʼþ-
·¢¼þÈË: Wang Xingyu ÍõÐËÓî [ÉϺ£]
You could declare different package names and call the config variables
explicitly:
see http://perl.apache.org/guide/porting.html#Configuration_Files_Writing_Dy
- Original Message -
From: Wang Xingyu ÍõÐËÓî [ÉϺ£] [EMAIL PROTECTED]
To: Wang Xingyu ÍõÐËÓî [ÉϺ£] [EMAIL PROTECTED]; [EMAIL
typos, sorry. Damned cut and paste
Jamie LeTual wrote:
How about this:
#=== mymodule.pm =
package mymodule;
use strict;
sub new
{
my $type = shift;
my $conf = shift;
my $self = { conf = require $conf };
bless $self,
and also http://
thingy.kcilink.com/modperlguide/perl/Using_Non_Hardcoded_Configuratio.html
- Original Message -
From: Wang Xingyu ÍõÐËÓî [ÉϺ£] [EMAIL PROTECTED]
To: Wang Xingyu ÍõÐËÓî [ÉϺ£] [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 9:15 PM
Subject: ´ð¸´: In
TKS,
Why use Data::Dumper ?
-原始邮件-
发件人: Jamie LeTual [mailto:[EMAIL PROTECTED]]
发送时间: 2001年6月6日 11:53
收件人: Wang Xingyu íõÐËóî [éϺ£]; [EMAIL PROTECTED]
主题: Re: ′e?′: In module require configuration file [frig]
typos, sorry. Damned cut and paste
Jamie LeTual
Maybe I should use ''PerlSetVar''.
I will think it.
-ÔʼÓʼþ-
·¢¼þÈË: Mike Christine [mailto:[EMAIL PROTECTED]]
·¢ËÍʱ¼ä: 2001Äê6ÔÂ6ÈÕ 11:49
ÊÕ¼þÈË: Wang Xingyu ÍõÐËÓî [ÉϺ£]; [EMAIL PROTECTED]
Ö÷Ìâ: Re: ´ð¸´: In module require configuration file
and also http://
This is the Perl interface to the neon HTTP and WebDAV client library.
Also not strictly related to mod_perl, I think it would be interesting for
the people here.
It can be downloaded from
ftp://ftp.dev.ecos.de/pub/perl/webdav/HTTP-Webdav-0.1.10-0.15.0.tar.gz
neon has the following
The URL
ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-1.3.3.tar.gz
has entered CPAN as
file: $CPAN/authors/id/G/GR/GRICHTER/HTML-Embperl-1.3.3.tar.gz
size: 345235 bytes
md5: f2a4579210f7797e1ff4d756f3b7e037
Embperl 1.3.2 is current stable version and this release contains
16 matches
Mail list logo