Re: Safe handling of an SQL query

2012-04-20 Thread Michael Ludwig
Vincent Veyron schrieb am 19.04.2012 um 22:33 (+0200): > > I see, I forgot to tell one step : once in the demo account, you see a > list a 'Dossiers' in the right part of the screen > > Click into any 'dossier', the first one will do. Once inside, you'll see > the tabs at the top of the screen, c

Re: Safe handling of an SQL query

2012-04-19 Thread Michael Ludwig
Vincent Veyron schrieb am 19.04.2012 um 09:24 (+0200): > Le jeudi 19 avril 2012 à 00:39 +0200, Michael Ludwig a écrit : > > > Got lost here, but your description makes sense even without the > > real thing, so … > > > Not sure how you got lost, did you not find the s

Re: Safe handling of an SQL query

2012-04-18 Thread Michael Ludwig
Vincent Veyron schrieb am 18.04.2012 um 02:11 (+0200): > Le mercredi 18 avril 2012 à 00:30 +0200, Michael Ludwig a écrit : > > > Maybe people can come up with more helpful > > suggestions if you post a concrete example of what is cumbersome. > > > > Sure, the app

Re: Safe handling of an SQL query

2012-04-17 Thread Michael Ludwig
Vincent Veyron schrieb am 18.04.2012 um 00:09 (+0200): > Le mardi 17 avril 2012 à 20:10 +0200, Michael Ludwig a écrit : > > Vincent Veyron schrieb am 16.04.2012 um 22:21 (+0200): > > > > > > I am doing this now, but passing parameters to the query becomes > >

Re: Safe handling of an SQL query

2012-04-17 Thread Michael Ludwig
Bonjour Vincent, Vincent Veyron schrieb am 16.04.2012 um 22:21 (+0200): > > I guess (in the message I forwarded to the list) Andreas is right, > though : the only way to be safe is to keep control of the query, > therefore keep it on the server. > > I am doing this now, but passing parameters to

Re: highscalability.com report

2012-04-04 Thread Michael Ludwig
demerphq schrieb am 04.04.2012 um 15:37 (+0200): > > When was the last time you built perl with no threading support? > >  It's certainly a 5%-15% win. > > Not certainly. We did that and saw almost no difference. As I see threads mentioned here: I know that there's some Perl threads knowledge o

Re: Tool to create multiple requests

2012-03-02 Thread Michael Ludwig
Tobias Wagener schrieb am 07.02.2012 um 08:05 (+0100): > > I'm currently developing a huge application with mod_perl, unixODBC > and MaxDB/SAPDB. On my developing system everything is fine. But on > the productive system with > 50 users, I have database connection > errors and request aborts and s

Re: PHP Question

2012-02-29 Thread Michael Ludwig
mplate language. So luring many people in. Wouldn't count that among the virtues of PHP, but certainly among its advantages in the webdev marketplace. -- Michael Ludwig

Re: compiling mod_perl 1x + Apache 1 on Debian

2012-02-29 Thread Michael Ludwig
Thomas Klausner schrieb am 29.02.2012 um 10:20 (+0100): > ~/apache_1.3.42$ ./configure --prefix=/opt/apache1 > > Configuring for Apache, Version 1.3.42 > + Warning: Your 'echo' command is slightly broken. > + It interprets escape sequences per default. We already > + tried 'echo -E' but had no

Re: experiencing Out of memory errors

2011-01-27 Thread Michael Ludwig
Michael Peters schrieb am 27.01.2011 um 19:14 (-0500): > But, even after all that I have applications where we consistently > run 3-4G just for mod_perl/Apache. But surely not in one process as the OP said he'd like to do? -- Michael Ludwig

Re: Apache2::Request::param returns () despite parameters in URI, but only under Strawberry Perl

2010-11-11 Thread Michael Ludwig
mittent Apache > service crashes for us these past couple weeks, I think related to > DBD::Pg. Try reporting it on the ActivePerl mailing list. -- Michael Ludwig

Re: huge apache+mod_perl processes

2010-10-04 Thread Michael Ludwig
e able to determine the handler that gobbles up memory. I've also seen situations (with bad code) where memory consumption depended on the data available for a process to read. Hope this helps. -- Michael Ludwig

Re: [DBI] msvcrt.dll issues when running in an XP environment

2010-09-12 Thread Michael Ludwig
, IIS/ActivePerl/PerlEx would be a good solution. But there is little user feedback available on the net, which lends a somewhat, well, experimental or pioneering touch to the whole undertaking. Anyone around here ever tried that combo? Or has feedback on it? -- Michael Ludwig

Re: Strange behaviour with Pseudo-Proxy script

2010-09-09 Thread Michael Ludwig
g, hence the performance drop you mentioned in your original mail. Correct? -- Michael Ludwig

Re: Strawberry perl + mod_perl (call for testers)

2010-07-19 Thread Michael Ludwig
Michael Ludwig schrieb am 09.07.2010 um 22:16 (+0200): > Are there any people on this list using mod_perl 2.0 on Windows? > Do you have any positive or negative experiences to share? Folks, thanks for your input on using mod_perl on Windows. The bottom line to draw based on your feedback se

Re: Strawberry perl + mod_perl (call for testers)

2010-07-09 Thread Michael Ludwig
Perrin Harkins schrieb am 09.07.2010 um 13:19 (-0400): > On Fri, Jul 9, 2010 at 12:12 PM, Michael Ludwig wrote: > > What's the status of using mod_perl on Windows? > > http://perl.apache.org/docs/2.0/os/win32/install.html Thanks. Doesn't sound too bad. So it's (

Re: Strawberry perl + mod_perl (call for testers)

2010-07-09 Thread Michael Ludwig
d that mod_perl on Windows be used only for testing purposes, not in production. Does that still hold true? With Apache 2 and all that progress? What's the status of using mod_perl on Windows? -- Michael Ludwig

Re: segmentation of mod_perl-1.31

2010-05-31 Thread Michael Ludwig
Am 31.05.2010 um 03:46 schrieb Peter Winn: > I am trying to build apache-1.3.42 with mod_perl-1.31 but when I start httpd > I get a the message segmentation fault (core dumped). What should I do? Provide information: * platform * operating system * configure line * ldd (or equivalent) output fo

Re: Sinister variable caching problem with rand()

2010-05-16 Thread Michael Ludwig
most scenarios, your solution will work just fine ;-) -- Michael Ludwig

Re: Sinister variable caching problem with rand()

2010-05-16 Thread Michael Ludwig
always be unique. I'm probably missing something trivial, but how do you enforce uniqueness over r for 99,999 consecutive calls to rand? The perldoc doesn't promise any uniqueness, only randomness, which isn't uniqueness. -- Michael Ludwig

Re: cleanup_for_exec() v/s spawn_proc_prog()

2010-05-02 Thread Michael Ludwig
escribed in the sections "Starting a Long Running External Program" and "Starting a Short Running External Program" on the page you're referring to. > [1]: > http://perl.apache.org/docs/1.0/guide/performance.html#Forking_and_Executing_Subprocesses_from_mod_perl > > [2]: > http://perl.apache.org/docs/1.0/guide/performance.html#A_Complete_Fork_Example -- Michael Ludwig

Re: Getting a / when regex should produce nothing

2010-04-27 Thread Michael Ludwig
Perrin Harkins schrieb am 27.04.2010 um 14:20:13 (-0400): > On Tue, Apr 27, 2010 at 2:08 PM, Michael Ludwig wrote: > > Variables declared with "our" are a funny hybrid between global > > variables, which are attached to a package, and lexical variables, > >

Re: Getting a / when regex should produce nothing

2010-04-27 Thread Michael Ludwig
Torsten Förtsch schrieb am 27.04.2010 um 11:25:33 (+0200): > On Tuesday 27 April 2010 10:18:17 Michael Ludwig wrote: > > > A lexical variable in Perl is any variable declared with "my", > > regardless of the scope, which may be file-level. Unlike globals, > >

Re: Getting a / when regex should produce nothing

2010-04-27 Thread Michael Ludwig
Moin André, Am 26.04.2010 um 21:44 schrieb André Warnier: > cr...@animalhead.com wrote: >> The retention of values from previous executions applies >> only to global variables. > > Ah, yes. > But that would have triggered another discussion (which it might now > still do of course), about what e

Re: Getting a / when regex should produce nothing

2010-04-26 Thread Michael Ludwig
s with ample internal > documentation explaining what it does and what it relies on. I think that's the important part: document the intent. -- Michael Ludwig

Re: Getting a / when regex should produce nothing

2010-04-25 Thread Michael Ludwig
7;' or 0 depending on the context (which apparently you do when you write "|| ''" or "|| 0"), or you don't agree because you do not want to tolerate undef at all (because you're counting money, for example). In the former case, just do as the OP did (no warnings 'uninitialized'); in the latter case consider making your code really robust and the warning fatal. For the record, I've changed my mind about this uninitialized business after reading the perldoc for common::sense by Marc Lehmann: http://search.cpan.org/~mlehmann/common-sense-3.2/ -- Michael Ludwig

Re: Pre-processing the request body

2010-04-21 Thread Michael Ludwig
Am 21.04.2010 um 18:57 schrieb Jeff McCarrell: > If you are the type that likes to buy books, let me give a shout out to _ > mod_perl 2 User's Guide _ by Stas Bekman and Jim Brandt. I think it's almost identical to the online version: http://perl.apache.org/docs/2.0/user/index.html > I notice C

Re: How to handle long running requests without locking an apache worker

2010-04-21 Thread Michael Ludwig
Am 19.04.2010 um 17:58 schrieb Torsten Förtsch: > http://foertsch.name/ModPerl-Tricks/req-hand-over.shtml Quoting from this page: "One note at first, by the time of this writing the released modperl version is not able to do this by the reason that there is no interface to fetch the client sock

Re: modperl and comet?

2010-04-17 Thread Michael Ludwig
ent, and possibly other modules by Marc Lehmann. If anyone has ever done any such programming, I'd be curious how to get started, conceptually. -- Michael Ludwig

Re: [RELEASE CANDIDATE] Apache-Test-1.32 RC1

2010-04-13 Thread Michael Ludwig
k t/redirect...skipped: (no reason given) t/requestok All tests successful. Files=6, Tests=13, 4 wallclock secs ( 0.35 usr 0.00 sys + 3.55 cusr 0.76 csys = 4.66 CPU) Result: PASS [warning] server localhost:8529 shutdown -- Michael Ludwig

Re: Server Level Global Variable

2010-04-13 Thread Michael Ludwig
eader' ); But I don't know how to continue: there's no interface to the APR::ArrayHeader structure. So this won't work. And it would have been a hack anyway. You could consider using memcached or a similar mechanism. But I agree Apache should have something to offer here. After all, Apache's emphasis isn't on being lean and mean. Well, maybe I just don't know where to look. -- Michael Ludwig

Re: How to retrieve the custom variants from HTTP request header by mod_perl2?

2010-03-31 Thread Michael Ludwig
Am 31.03.2010 um 16:46 schrieb lq jimmy: > > In mod_perl, i can get the custom variants which stored in header from %ENV > directly, > but it seems not works in mod_perl2. Look here: http://perl.apache.org/docs/2.0/user/config/config.html#C_SetupEnv_ -- Michael.Ludwig (#) XING.com

Re: Usefulness of $r->notes and $r->pnotes (or $c)

2010-03-24 Thread Michael Ludwig
Am 24.03.2010 um 15:20 schrieb Douglas Sims: > We use the notes table to put a reference to the session (and thus the user) > in the access log. > > $request->notes->set('session' => $session->{SESSION}); > > This is in apache2.conf: > > LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer

Re: unsubscribe

2010-03-24 Thread Michael Ludwig
Am 24.03.2010 um 14:59 schrieb sudhakar Avirneni: > From: sinis...@gmail.com > To: modperl@perl.apache.org > Subject: unsubscribe > Date: Mon, 22 Mar 2010 08:44:45 -0400 > > unsubscribe That's useless. To remove your address from the list, send a message to: -- Michael.Ludwig (#) XING.com

Re: get_handlers and set_handlers - purpose and use cases?

2010-03-24 Thread Michael Ludwig
Am 24.03.2010 um 13:08 schrieb Perrin Harkins: > On Tue, Mar 23, 2010 at 4:51 PM, Michael Ludwig wrote: >> My desire to believe in the wisdom of the designers of the API has kept >> me busy thinking about this. > > Keep in mind that most of the Perl API is just exposing th

Re: Usefulness of $r->notes and $r->pnotes (or $c)

2010-03-24 Thread Michael Ludwig
Am 24.03.2010 um 00:39 schrieb Adam Prime: > Michael Peters wrote: >> On 03/23/2010 05:28 PM, Michael Ludwig wrote: >> >>> What could be done at the connection level? >> >> Anything that might involve keep alive connections: where the same >> connect

Re: get_handlers and set_handlers - purpose and use cases?

2010-03-23 Thread Michael Ludwig
Perrin Harkins schrieb am 23.03.2010 um 16:54:44 (-0400): > On Tue, Mar 23, 2010 at 3:47 PM, Michael Ludwig wrote: > You could examine a coderef if you really needed to. Using some forsaken B:: module? Such wizardly demanour does raise some eye-brows with your fellow workers. > >

Re: get_handlers and set_handlers - purpose and use cases?

2010-03-23 Thread Michael Ludwig
Michael Ludwig schrieb am 23.03.2010 um 21:51:48 (+0100): > Maybe dynamic reconfiguration on a per-request basis as in this > example for a MyApache2::SendEmail handler [1] is what this is about. [1] http://perl.apache.org/docs/2.0/user/handlers/http.html -- Michael Ludwig

Usefulness of $r->notes and $r->pnotes (or $c)

2010-03-23 Thread Michael Ludwig
), which sets the scope of its usefulness. The notes are an APR::Table, the pnotes are a HASH. What real-life uses have you found for these notes and pnotes? What could be done at the connection level? Or is this rather too low-level for run-of-the-mill web applications? This is by curiosity and to get my imagination going. -- Michael Ludwig

Re: get_handlers and set_handlers - purpose and use cases?

2010-03-23 Thread Michael Ludwig
Michael Ludwig schrieb am 23.03.2010 um 00:50:43 (+0100): > What's the purpose and what are the use cases for the methods > get_handler and set_handler available from Apache2::RequestUtil > and Apache2::ServerUtil? My desire to believe in the wisdom of the designers of the API ha

Re: get_handlers and set_handlers - purpose and use cases?

2010-03-23 Thread Michael Ludwig
Perrin Harkins schrieb am 23.03.2010 um 15:14:56 (-0400): > On Tue, Mar 23, 2010 at 2:54 PM, Michael Ludwig wrote: > >  # A list of handlers configured to run at the response phase: > >  my @handlers = @{ $r->get_handlers('PerlResponseHandler') || [] }; > > >

Re: get_handlers and set_handlers - purpose and use cases?

2010-03-23 Thread Michael Ludwig
ils of the API so I know how to best make use of it. -- Michael Ludwig

get_handlers and set_handlers - purpose and use cases?

2010-03-22 Thread Michael Ludwig
to make sense of it. -- Michael Ludwig

Re: RFC: Apache2::CloseKeepAlive

2009-08-28 Thread Michael Ludwig
Adam Prime schrieb: Michael Ludwig wrote: Sprites are useful for collections of related of the same size and purpose. You don't have to restrict them to images of the same size. You can use a sprited image to replace any fixed size image, and any background image that repeats i

Re: RFC: Apache2::CloseKeepAlive

2009-08-28 Thread Michael Ludwig
ce.org/ Sprites are useful for collections of related of the same size and purpose. -- Michael Ludwig

Re: At random moments, mod_perl starts returning empty pages

2009-08-28 Thread Michael Ludwig
And segfaults are usually the result of having incompatible binaries/libs on your system. I've also seen it happen (with mod_php) when recompiling the Gettext message catalogue. Is there anything in your error logs about this? -- Michael Ludwig

Re: same handler with different port

2009-02-18 Thread Michael Ludwig
eply by default goes to the individual who has posted the message, not to the list, as it is probably intended to do. Michael Ludwig

Re: same handler with different port

2009-02-18 Thread Michael Ludwig
ndler Dada::Rufus::Handler Same typo once more. So i can pass different params only by changing port number: according to you is it the right way? Yes. In addition to this, you only need the following: Listen 12200 Listen 12300 PerlModule Dada::Rufus::Handler But you knew that. Michael Ludwig

Re: same handler with different port

2009-02-17 Thread Michael Ludwig
number. The port number follows the hostname. http://localhost:8080/query Michael Ludwig

Re: Web Agent

2009-02-02 Thread Michael Ludwig
bably clarify the connection between the problem you're trying to solve and mod_perl, or ask for support in a place dedicated to the specific RSA Web Agent software you're trying to get to work. Michael Ludwig

Re: Checking a webserver

2009-01-28 Thread Michael Ludwig
in a shell script might be useful. Michael Ludwig

Re: article about mod_perlite

2009-01-26 Thread Michael Ludwig
Perrin Harkins schrieb: On Mon, Jan 26, 2009 at 4:15 PM, Michael Ludwig wrote: I may be wrong but I used to think that PerlRun provides just that, a non-persistent execution environment, just like LibPHP. It's not really possible in perl. PerlRun attempts to fake it by removing any

Re: article about mod_perlite

2009-01-26 Thread Michael Ludwig
Perrin Harkins schrieb: On Mon, Jan 26, 2009 at 2:26 PM, Michael Ludwig wrote: I think this is technically incorrect in that it does not match the Apache/LibPHP execution model (which is what I think they're trying to emulate), where the Apache/LibPHP process does not exit after serving o

Re: article about mod_perlite

2009-01-26 Thread Michael Ludwig
naltered CGI scripts under mod_perl http://perl.apache.org/docs/1.0/api/Apache/PerlRun.html PHP can leak memory, too. MaxRequestsPerChild is important, as it is with Perl. Setting it to 1 in either case means throwing the baby out with the bath water. Michael Ludwig

Re: PerlSetVar behaviour within directive

2009-01-23 Thread Michael Ludwig
iles, hosts, or URLs. This document describes how to use | configuration section containers or .htaccess files to change the | *scope* of other configuration directives. The document then lists directives that do change the scope, and is not among them. Michael Ludwig

Re: [RELEASE CANDIDATE] libapreq2 2.11

2009-01-21 Thread Michael Ludwig
ok Building okay. All tests successful. Michael Ludwig

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-21 Thread Michael Ludwig
Perrin Harkins schrieb: On Tue, Jan 20, 2009 at 4:19 PM, Michael Ludwig wrote: On the other hand, performance isn't what you'd call great, as access to the database is effectively serialized. Are you sure about that? I'm sure about the queries seeming *effectively* serialize

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-20 Thread Michael Ludwig
of concurrency level. This may have been a bit faster in the worker MPM. (But only due to the SEGVs, unfortunately, which came across pretty good, performance-wise.) I think a single-process, multi-threaded approach (as in Java) will work best for Berkeley DB. Michael Ludwig

Re: unsubscribe

2009-01-20 Thread Michael Ludwig
on, in the eyes of some potential deserters, that this is, indeed, a successful exit strategy. Folks, it really isn't. Instead, try: modperl-unsubscr...@perl.apache.org Michael Ludwig PS: The other day, on the Tomcat list, there was a guy (or girl) named Dara P. Maginnis (honor to whom ho

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-20 Thread Michael Ludwig
e-level my-variables can be closed in a controlled fashion. Can I have code run at that instant? Or any other ideas what's going on? Michael Ludwig

Re: Multiple mod_perl 2.0 installations on one Linux machine

2009-01-20 Thread Michael Ludwig
against a httpd with worker MPM and TEST is with both worker and prefork. So far I have never found something that went bad only because of the other MPM. Thanks for triggering William's and Philip's rectifications :-) Michael Ludwig

Re: Multiple mod_perl 2.0 installations on one Linux machine

2009-01-20 Thread Michael Ludwig
Philip, thanks a lot for this thorough and exhaustive answer! Philip M. Gollucci schrieb: Michael Ludwig wrote: So, to summarize: The mod_perl DSO depends on the particular versions of Perl and Apache. The modules in the Apache2:: namespace most definitely dpends on libperl.so, httpd, apr

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-19 Thread Michael Ludwig
Torsten Foertsch schrieb: Of course it depends on your setup. If you configure only a small number of interpreters then the overall memory footprint can be lower then with prefork where each process runs its own interpreter. But the effect of the copied interpreters outweighs this very soon. I

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-19 Thread Michael Ludwig
Torsten Foertsch schrieb: On Sun 18 Jan 2009, Michael Ludwig wrote: Hmm. Not sure what to make of this threaded Perl. In fact, it is worse than fork()ing off unix processes because the interpreter data is completely copied while a new interpreter is created. On the other hand a forked

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-19 Thread Michael Ludwig
macke...@animalhead.com schrieb: Yes it is now Abend again. Timewise this is like relationships I have had with Philips (now NXP) European colleagues... And a new morning again, and it goes round and round ... On Jan 18, 2009, at 10:56 AM, Michael Ludwig wrote: macke...@animalhead.com

Multiple mod_perl 2.0 installations on one Linux machine

2009-01-19 Thread Michael Ludwig
when being asked to interact with these. True? Does anyone know what the dependencies are? And how would I deal with this situation if my above observation was true and I wanted a worker and a prefork MPM on the same machine, both with mod_perl? Michael Ludwig

Re: [OT] Re: unsubscribe

2009-01-19 Thread Michael Ludwig
Issac Goldstand schrieb: It is already included. Check your headers. list-help: <mailto:modperl-h...@perl.apache.org> list-unsubscribe: <mailto:modperl-unsubscr...@perl.apache.org> List-Post: <mailto:modperl@perl.apache.org> I know. Michael Ludwig wrote: At the momen

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-19 Thread Michael Ludwig
I've referenced this thread on the Oracle Berkeley DB forum. Chances are it'll catch the attention of one of the BDB experts. If you're interested, please see: http://forums.oracle.com/forums/thread.jspa?threadID=848390 Michael Ludwig

Re: unsubscribe

2009-01-19 Thread Michael Ludwig
oment, the unsubscribe address appears only in the mail headers. Apart from being listed on the website, of course. Michael Ludwig

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-18 Thread Michael Ludwig
c perlthrtut: "In this model each thread runs in its own Perl interpreter, and any data sharing between threads must be explicit." This does not sound to me as if there is a significant advantage over spawning child processes, at least not on UNIX. Hmm. Not sure what to make of this threaded Perl. Michael Ludwig

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-16 Thread Michael Ludwig
erlChildInitHandler and the PerlResponseHandler do not see the same variables in spite of their being textually identical. I'm at my wit's end. Any clues? Michael Ludwig

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-16 Thread Michael Ludwig
macke...@animalhead.com schrieb: Apache is forgiving/robust about specifying nonexistent phase handlers in httpd.conf and inserts thereto. Thanks. I noticed. :-) I was using event, and had to let each thread open its own DBs based on an undefined global. Then I found that the identical traff

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-16 Thread Michael Ludwig
Mark Hedges schrieb: On Thu, 15 Jan 2009, Michael Ludwig wrote: PerlRequire /home/milu/www/eumel/startup.pl PerlChildInitHandler Eumel::Gurke::bla; PerlChildExitHandler Eumel::Gurke2::bla; No trailing semicolons? That was a copy and paste error when composing the mail. But this is an

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-15 Thread Michael Ludwig
Mark Hedges schrieb: On Wed, 14 Jan 2009, Michael Ludwig wrote: I want to build a mod_perl2 application using Sleepycat::DbXml. This is However, I don't know how to do this. Currently, I'm trying to set up things in startup.pl (loaded via PerlPostConfigRequire), store the database e

Re: Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-15 Thread Michael Ludwig
hildInitHandler_ It is unclear to me whether this applies to the prefork MPM exclusively. Does anyone know? Michael Ludwig

Initializing Sleepycat::DbXml (Berkeley, Oracle) objects in startup.pl

2009-01-14 Thread Michael Ludwig
rience on using mod_perl2 with Sleepycat::Db or Sleepycat::DbXml? If so, I can provide more details on this. Michael Ludwig

Re: PerlAddVar: documentation bug (regression?)

2009-01-14 Thread Michael Ludwig
Adam Prime schrieb: Michael Ludwig wrote: http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlAddVar_ | my @foos = $r->dir_config('foo'); This is wrong. You have to say: my @foos = $r->dir_config->get('foo'); Committed revision 734312, whic

PerlAddVar: documentation bug (regression?)

2009-01-13 Thread Michael Ludwig
;dir_config->get('foo'); This may have been fixed a while ago, but apparently, the mistake in the documentation has reappeared. http://www.gossamer-threads.com/lists/modperl/modperl/82834#82834 Michael Ludwig

Re: unsubscribe

2009-01-13 Thread Michael Ludwig
Kelvin Liu schrieb: unsubscribe It doesn't work like that, even if you're the fifth person in six days to try this. Mail to instead. Michael Ludwig

Re: APR, libapreq2, mod_perl2, APR::*, Apache2::*

2009-01-08 Thread Michael Ludwig
Adam Prime schrieb: Michael Ludwig wrote: It is said in the thread referred to above that "the splitting of the APIs [...] is strange and confusing", and coming from mod_perl 1.0, I agree. But it probably has advantages as well. i think that comment about splitting the api was wi

Re: APR, libapreq2, mod_perl2, APR::*, Apache2::*

2009-01-08 Thread Michael Ludwig
Foo JH schrieb: Michael Ludwig wrote: I'd like to reach an understanding of what these ranges of modules and interfaces are intended for. When would I want to use which interface? Or is it all a matter of style and taste? Possibly. You will need the standard modperl2 library to eve

APR, libapreq2, mod_perl2, APR::*, Apache2::*

2009-01-08 Thread Michael Ludwig
e intended for. When would I want to use which interface? Or is it all a matter of style and taste? Michael Ludwig

Re: Acess current request using static method

2009-01-08 Thread Michael Ludwig
Mark Hedges schrieb: On Wed, 7 Jan 2009, Michael Ludwig wrote: In 2.0, is there a way to access the current request object using one of the classes in the following fashion? my $r = Apache2::RequestRec->current(); # INVALID! From `man Apache2::RequestUtil`: # get the global requ

Acess current request using static method

2009-01-07 Thread Michael Ludwig
7;urn:perl', 'strftime-2', $strftime_2); ... } This works. So I don't have to load the POSIX module to get strftime. Anyway, is there a way to do what I asked? Michael Ludwig