Re: BerkeleyDB vs. Linux file system benchmark (on Perlmonks)

2003-03-25 Thread Perrin Harkins
On Tue, 2003-03-18 at 14:05, Perrin Harkins wrote: > I thought some of you might be interested in this thread from Perlmonks.org: > http://perlmonks.org/index.pl?node_id=243899 > > I benched BerkeleyDB against multiple files for medium-sized documents, > and the results were that Berkeley was fas

Re: Apache::GD::Thumbnail Question

2003-03-25 Thread Steven A. Adams
On Tue, 2003-03-25 at 18:34, Steven A. Adams wrote: > On Tue, 2003-03-25 at 00:12, Issac Goldstand wrote: > > - Original Message - > .. > > >From the man page: > > "* ThumbnailBaseDir > > Sets the directory that contains the images to be thumbnailed. Defaults to > > ".." if not specifie

Re: Apache::GD::Thumbnail Question

2003-03-25 Thread Steven A. Adams
On Tue, 2003-03-25 at 00:12, Issac Goldstand wrote: > - Original Message - .. > >From the man page: > "* ThumbnailBaseDir > Sets the directory that contains the images to be thumbnailed. Defaults to > ".." if not specified" > > Since the virtual directory /home/me/pics/thumbs/../ is wh

Re: get_server_port (was:Re: run_access_check)

2003-03-25 Thread Stas Bekman
Jie Gao wrote: I have run into another problem, though. I am writing a PerlProcessConnectionHandler based on the example in "overview of mod_perl-2.0". It's going to listen on two ports, and I need to know which port is being used in order to set up other things. But I could not get get_server_por

get_server_port (was:Re: run_access_check)

2003-03-25 Thread Jie Gao
On Mon, 24 Mar 2003, Stas Bekman wrote: > Jie Gao wrote: > > Hi All, > > > > I am getting the following error mesg: > > > > Can't locate object method "run_access_checker" via package "Apache::RequestRec" > > at /usr/local/perl-5.8.0_threaded/lib/site_perl/5.8.0/xxx/.pm > > > > for the sectio

Re: Mod_perl 1.99_09dev on AIX4.3.3

2003-03-25 Thread Stas Bekman
ODELL, TODD E (SWBT) wrote: On Mar 24 Stas Bekman Wrote: I've applied some fixes for mod_perl to build on aix. I could only test with aix 5.1 on powerpc. Please test that things work on other configurations. I got 1.99_09dev working on AIX4.3.3/apache 2.0.44 on powerpc_power3. I had trouble wit

Re: speeding up CGI.pm

2003-03-25 Thread Stas Bekman
Lincoln Stein wrote: I like the idea of that, although the handsprings needed to do ordinary CGI, mp1 and mp2 might lead to a cloud of confusion. Best to keep them in separate modules and load them into CGI as needed. This should be absolutely transparent from the user's point of view. BTW, my

Re: Oracle9.2 and mod_perl - advice sought

2003-03-25 Thread Christopher Taranto
This book might be useful to you too! Perl for Oracle DBAs http://www.oreilly.com/catalog/oracleperl/ HTH, Christopher Taranto At 06:12 PM 3/25/03 +, you wrote: Hello all, Quick request for advice/direction... I'm about to take receipt of an Oracle 9.2 server - for the development of a sit

Re: speeding up CGI.pm

2003-03-25 Thread Nick Tonkin
On Tue, 25 Mar 2003, Lincoln Stein wrote: > I like the idea of that, although the handsprings needed to do ordinary CGI, > mp1 and mp2 might lead to a cloud of confusion. Best to keep them in > separate modules and load them into CGI as needed. > > Is Apache::Request in mp2 ready for prime time?

RE: Oracle9.2 and mod_perl - advice sought

2003-03-25 Thread Dmitri Bichko
The regular DBI (http://search.cpan.org/author/TIMB/DBI-1.35/DBI.pm) with DBD::Oracle (http://search.cpan.org/author/TIMB/DBD-Oracle-1.13/Oracle.pm) will work just fine. To make your life easier, take a look at Class::DBI (http://search.cpan.org/author/TMTM/Class-DBI-0.91/lib/Class/DBI.pm) as

RE: Oracle9.2 and mod_perl - advice sought

2003-03-25 Thread Goehring, Chuck Mr., RCI - San Diego
Jim, ODBC is not the way to go for Oracle if you can. Early on I tried using ODBC and I had crashes and hang-ups. Performance is substantially better also. The modules below and the oci libraries in the Oracle install will get it for you. This version works with the 9i Release 2 for me.

Mod_perl 1.99_09dev on AIX4.3.3

2003-03-25 Thread ODELL, TODD E (SWBT)
On Mar 24 Stas Bekman Wrote: >I've applied some fixes for mod_perl to build on aix. >I could only test with aix 5.1 on powerpc. Please test that things work on >other configurations. I got 1.99_09dev working on AIX4.3.3/apache 2.0.44 on powerpc_power3. I had trouble with make test, but I'm review

Oracle9.2 and mod_perl - advice sought

2003-03-25 Thread Jim Morrison [Mailing-Lists]
Hello all, Quick request for advice/direction... I'm about to take receipt of an Oracle 9.2 server - for the development of a site/product/service.. I'm happiest writing Perl - under mod_perl - so I'd like to stick to that, but most importantly I need the solution with the lowest transaction ove

Re: CGI.pm and friends port to mp2

2003-03-25 Thread Lincoln Stein
At least with some versions of perl, the require gets evaluated at compile time and raises an exception even if it is enclosed by the eval {} braces. The only way to get around this is to eval the string. I'm not sure whether this is a current issue or was a problem with 5.00503, but I've kept

Re: the deprecation of Apache->request in mp2

2003-03-25 Thread Lincoln Stein
I suppose there might be name clashes, but I'll look into doing that. Lincoln On Monday 24 March 2003 07:08 pm, Stas Bekman wrote: > Lincoln Stein wrote: > >>How about making CGI.pm a subclass of $r? (optionally of course, by > >>dynamically changing @ISA), so instead of returning $q it'll retur

Re: speeding up CGI.pm

2003-03-25 Thread Lincoln Stein
I like the idea of that, although the handsprings needed to do ordinary CGI, mp1 and mp2 might lead to a cloud of confusion. Best to keep them in separate modules and load them into CGI as needed. Is Apache::Request in mp2 ready for prime time? We haven't been able to get it running here (som

Re: speeding up CGI.pm

2003-03-25 Thread Issac Goldstand
That would be really amazing if it could still be implemented in mp1, too, as it would allow for interoperability between libapreq-based applications (like Apache::UploadMeter) and response handlers like CGI scripts which use CGI.pm I suppose that this isn't such a big problem in mp2 whose filters