Re: mod_perl guide HELP -- Full transcript

2001-08-03 Thread Stas Bekman
[Moving the discussion where it belongs to: the mod_perl list] On Fri, 3 Aug 2001, christopher sagayam wrote: > please ignore if my earlier email was clear enough what's the value of PERL and FULLPERL var in the generated Makefile? e.g. on my machine: PERL = /usr/bin/perl FULLPERL = /usr/bin/p

odd behavior with Cache::Cache

2001-08-03 Thread brian moseley
i'm observing some behavior using Cache::Cache that seems odd, altho it may be due to my faulty understanding of how the interface works. i'm using Cache::MemoryCache to manage a cache of session objects in a non-forking apache process. once i've initially called set to store a session object us

RE: Apache::DBI in startup.pl generating error

2001-08-03 Thread Gunther Birznieks
Rob, how much stuff do you have in startup.pl? So nothing else is dependent on Apache.pm modules? To some degree, because Apache::DBI affects all the Perl interpreters in a very config-type of way (as opposed to just preloading modules) I like the idea of it being in PerlModule as it allows so

RE: Apache::DBI in startup.pl generating error

2001-08-03 Thread Rob Bloodgood
> Alternatively, you can remove > > use Apache; > > from Apache::DBI and then you can test it perflectly fine from the > command-line, you just won't be able to use connect_on_init() > which is the > only reason Apache::DBI seems to load Apache.pm (Apache.pm is > causing your > problem not Apache:

Re: Just while we are so nicely [OT]: SQL Search Results in pages

2001-08-03 Thread Robert Landrum
At 1:07 PM +0200 8/2/01, Joachim Zobel wrote: >Hi. > >One of the really nice features of MySQL (OK, its not a "real" >RDBMS, but who cares:) is LIMIT. > >Using Oracle I have found it a real pain to display search results >in pages (of eg 20) while using connection pooling. The problem is >that

Re: From cgi-lib.pl to CGI.pm Upload conversion!?

2001-08-03 Thread Stas Bekman
On Fri, 3 Aug 2001, John Buwa wrote: > Hello, > > I am trying to finish up my conversion from cgi-lib.pl to CGI.pm using the cgilib >mode in CGI.pm. The cgilib emulation mode does not provide the normal cgilib file >upload calls. I looked at the guide on using the file upload feature, but it do

OT: building a server -- advise needed

2001-08-03 Thread Paul Lombardo
I have been tasked with re-designing our Sun Server. As it sits right now, it's basically hosed it's a conglomeration of patches, bailing twine, duct tape and whatnot. We are running a Sun Ultra10 with an Ultra SCSI array, Solaris 2.6 the latest Apache, Perl, and JDK. We have installed ModPerl

Help needed. LWP-5.48 dicovered..

2001-08-03 Thread Vlad Safronov
Hi All, I know all of you are very busy, but could you look at POST request results ( this is "print $req->as_string ") : What is the "%00H" in the last line??? my $resp = $ua->request(POST 'https://www.assist.ru/reports/results.cfm', [ @params ]); my $req = $resp->request; print $req->as_stri

[Fwd: Help with @ISA]

2001-08-03 Thread Rasoul Hajikhani
Hello there, I have a problem and I am not sure how to explain it... So please forgive me if I sound like a rookie, since I am that. I have a packge called: my::foo in which I have declared the following: package my::foo; @my::foo::ISA = qw( my::bar ); . . . sub handler { my $r = shi

modules/status make test fail

2001-08-03 Thread Bill Moseley
I can come back with more, if needed, but just in case someone else has seen this: Fresh 1.26 and 1.3.20 Sun Solaris 2.6 Perl 5.005_03 I just did this on Linux and it worked just fine :( This doesn't bother me, too much modules/request.Use of uninitialized value at modules/request.t line 1

Re: segfault with mod_perl, Oraperl, XML::Parser

2001-08-03 Thread Matt Sergeant
On 03 Aug 2001 10:26:37 -0700, Scott Kister wrote: > Thanks everyone for their help, I tried all the suggestions with no > luck, and I definitely configured Apache without expat. I finally > ended up parsing the XML in perl instead of using Expat. Since I > already had handlers, it was quite easy,

Re: dbi abstraction layer on perlmonks

2001-08-03 Thread Tom Mornini
On Thursday, August 2, 2001, at 03:00 PM, Robert Landrum wrote: > Sweet... > > I was getting kinda tired of my Linux box "going down on me." You must be thinking Windows! -- -- Tom Mornini -- ICQ 113526784

Apache::URI problems

2001-08-03 Thread Philip Molter
I'm seeing this problem both under mod_perl 1.25 and 1.26. I've installed mod_perl as a DSO outside of the Apache source tree using APXS. It seems to work fine, except for Apache::URI. Here's my test script: #!/usr/bin/perl use strict; use Apache::FakeRequest; use Apache::URI; my $

Re: segfault with mod_perl, Oraperl, XML::Parser

2001-08-03 Thread Scott Kister
Thanks everyone for their help, I tried all the suggestions with no luck, and I definitely configured Apache without expat. I finally ended up parsing the XML in perl instead of using Expat. Since I already had handlers, it was quite easy, although still needs better validation and error handling.

Re: dbi abstraction layer on perlmonks

2001-08-03 Thread Perrin Harkins
Robert Landrum wrote: > The guide is a great thing, and removing items from it is risky. Think of it as refactoring.

Re: dbi abstraction layer on perlmonks

2001-08-03 Thread Perrin Harkins
Stas Bekman wrote: >>>Maybe the guide should include links to the most mature peristence >>>abstraction layer projects out there: >>>- Class::DBI >>>- Alzabo >>>- Tangram >>>- SPOPS >>> > >I suppose that could fit into the help.pod. Otherwise it's not directly >related to mod_perl, and the guide

Re: Apache::Reload : eval { require $filename }

2001-08-03 Thread Stas Bekman
On Thu, 2 Aug 2001, Sidharth Malhotra wrote: > In the Apache::Reload module, if the 'require' fails, your script bails out, > and your client gets status 500. The side effect is that totally unrelated > scripts can fail because a bad programmer on another end of the system > forgot my a variable

RE: Apache::DBI in startup.pl generating error

2001-08-03 Thread Geoffrey Young
> -Original Message- > From: Rob Bloodgood [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 9:18 PM > To: Geoffrey Young > Cc: mod_perl > Subject: RE: Apache::DBI in startup.pl generating error > > basically, it's a bad programming practice not to use() > modules in the > c

Re: Not embedding SQL in perl (was RE: [OT] Inspired by closing comments from the UBB thread.)

2001-08-03 Thread Ken Williams
[EMAIL PROTECTED] (Jeffrey W. Baker) wrote: >I've worked with Scott Ambler, and I could record everything Scott Ambler >knows about actually devleloping large systems on the head of a pin, using >a magic marker. That guy is a hopeless academic without the slightest >clue of how to actually make s

Re: Just while we are so nicely [OT]: SQL Search Results in pages

2001-08-03 Thread Tom Mornini
On Thursday, August 2, 2001, at 04:07 AM, Joachim Zobel wrote: > One of the really nice features of MySQL (OK, its not a "real" RDBMS, > but who cares:) is LIMIT. > > Using Oracle I have found it a real pain to display search results in > pages (of eg 20) while using connection pooling. The pr

Re: dbi abstraction layer on perlmonks

2001-08-03 Thread Alastair
On Thu, Aug 02, 2001 at 02:32:01PM -0700, brian moseley wrote: > > for the next perl conference i'm writing a do everything > abstraction layer. it will provide a do_stuff routine that > will, out of the box, do your laundry and perform oral sex. > scalable, robust, state of the art technology fo

Re: Just while we are so nicely [OT]: SQL Search Results in pages

2001-08-03 Thread Tim Bunce
On Thu, Aug 02, 2001 at 07:10:49PM +0300, raptor wrote: > > This may be of interest: > > > > http://search.cpan.org/doc/TIMB/DBI_Talk5_2001/sld059.htm > > ]- Where is $h->{FetchHashKeyName}, I didn't found it even in the source > perl -m DBI my version is 1.18 Umm, let's see... that talk was

Re: dbi abstraction layer on perlmonks

2001-08-03 Thread Matt Sergeant
On 02 Aug 2001 14:32:01 -0700, brian moseley wrote: > > for the next perl conference i'm writing a do everything > abstraction layer. it will provide a do_stuff routine that > will, out of the box, do your laundry and perform oral sex. > scalable, robust, state of the art technology for > e-busin

RE: Apache::DBI in startup.pl generating error

2001-08-03 Thread Geoffrey Young
>Except that (and I have to check this to be ABSOLUTELY shure but) >PerlModule >Apache::DBI happens first, THEN startup.pl. only if you code it the way you did below, which isn't terribly portable. see http://perl.apache.org/guide/perl.html#use_require_do_INC_and basically, it's a bad programm

Re: Just while we are so nicely [OT]: SQL Search Results in pages

2001-08-03 Thread Dave Rolsky
On Thu, 2 Aug 2001, Perrin Harkins wrote: > I've had great success with "Select and cache only the row keys, fetch full > rows as needed". We were also caching the individual records (in > BerkeleyDB), so some pages never needed to hit Oracle at all after the > initial query. A good way to go,