Re: Perl Cookbook modperl chapter

2002-12-16 Thread Stas Bekman
Gunther Birznieks wrote: Stas Bekman wrote: Hill, Ronald wrote: It's much simpler than that. You need two sentences: 1) under mod_perl, globals remember their values from the previous request, so you can cache the connection with: $dbh ||= myconnect(); But Apache::DBI implements pingin

Re: Perl Cookbook modperl chapter

2002-12-16 Thread Gunther Birznieks
Stas Bekman wrote: Hill, Ronald wrote: It's much simpler than that. You need two sentences: 1) under mod_perl, globals remember their values from the previous request, so you can cache the connection with: $dbh ||= myconnect(); But Apache::DBI implements pinging (immediate or timing base

Re: Perl Cookbook modperl chapter

2002-12-16 Thread Stas Bekman
Hill, Ronald wrote: -Original Message- Grant McLean wrote: Nathan Torkington wrote: Current recipe list: [gnat:~] grep head1 Ora/pcb2/ch21.pod =head1 Introduction =head1 Authenticating in mod_perl =head1 Setting Cookies in mod_perl =head1 Accessing Cookie Values from mod_perl

RE: Perl Cookbook modperl chapter

2002-12-16 Thread Hill, Ronald
> -Original Message- > Grant McLean wrote: > > > Nathan Torkington wrote: > > Current recipe list: > > [gnat:~] grep head1 Ora/pcb2/ch21.pod > > =head1 Introduction > > =head1 Authenticating in mod_perl > > =head1 Setting Cookies in mod_perl > > =head1 Accessing Cookie Values

RE: Perl Cookbook modperl chapter

2002-12-12 Thread Goehring, Chuck Mr., RCI - San Diego
Nathan, Something to keep in mind is that there are a lot of us out here that use mod_perl, but don't write handlers. Nobody wants a slow system, so mod_perl must be used. I bought "Writing Apache Modules with Perl and C" years ago, but haven't had much need for the capabilities it discusses.

Re: Perl Cookbook modperl chapter

2002-12-12 Thread Raf
On Wed, 11 Dec 2002, Nathan Torkington wrote: > I need some people with brains (instead of the warm gray mush filling > > I also need help on content. I'm not competing with Geoff, Randy, and > > Current recipe list: > [gnat:~] grep head1 Ora/pcb2/ch21.pod > =head1 Introduction > =head1 Au

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Geoffrey Young
Paul Lindner wrote: Hi, I only speak for myself, but I am happy to see mod_perl covered in the Perl Cookbook. Why you ask? I see the inclusion of mod_perl helping increase the size of the mod_perl "pie". A rising tide lifts all boats. I totally agree - at this stage in the game, the more

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Stas Bekman
Paul Lindner wrote: Hi, I only speak for myself, but I am happy to see mod_perl covered in the Perl Cookbook. Why you ask? I see the inclusion of mod_perl helping increase the size of the mod_perl "pie". A rising tide lifts all boats. I second that. And just like Paul, I only speak for myse

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Paul Lindner
Hi, I only speak for myself, but I am happy to see mod_perl covered in the Perl Cookbook. Why you ask? I see the inclusion of mod_perl helping increase the size of the mod_perl "pie". A rising tide lifts all boats. I'm not too worried about the content. I'm sure it will be top-notch. Consid

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Gunther Birznieks
Nick, I think you raise valid points that I think Nathan and the reviewers should take on board when they do this chapter and subsequently review it. However... 1) I believe that rather than entirely naysay that some common cookbook items can be covered in a mod_perl chapter, I would prefer

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Nick Tonkin
On Wed, 11 Dec 2002, Nathan Torkington wrote: > Actually, we do cover mod_perl--we published the Eagle book, "Writing > Apache Modules ..." way back in 1999. Yes, I have had my now dog-eared copy since then :) > There's no way that 20 recipes in the Perl Cookbook will compete with > the what, 2

RE: Perl Cookbook modperl chapter

2002-12-11 Thread Grant McLean
Nathan Torkington wrote: > Current recipe list: > [gnat:~] grep head1 Ora/pcb2/ch21.pod > =head1 Introduction > =head1 Authenticating in mod_perl > =head1 Setting Cookies in mod_perl > =head1 Accessing Cookie Values from mod_perl > =head1 Redirecting the Browser from mod_perl > =head

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Iain 'Spoon' Truskett
* Ron Savage ([EMAIL PROTECTED]) [12 Dec 2002 10:19]: [...] > Having 2 books which can both be casually, if incorrectly, called The > mod_perl Cookbook, is asking for endless (minor) trouble. A distinct > name would be a distinct advantage. Given there's already "XML and Perl" and "Perl & XML" (

Re: Perl Cookbook modperl chapter

2002-12-11 Thread David Wheeler
On Wednesday, December 11, 2002, at 03:17 PM, Ron Savage wrote: Having 2 books which can both be casually, if incorrectly, called The mod_perl Cookbook, is asking for endless (minor) trouble. A distinct name would be a distinct advantage. Nat's book is _The Perl Cookbook_, not _The mod_perl Co

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Ron Savage
On Wed, 11 Dec 2002 13:58:18 -0700, Nathan Torkington wrote: Nathan >I also need help on content. I'm not competing with Geoff, Randy, Some of us are trying to implement authentication/login/logout where, if at all possible, cookies are not to be used. A cookie-free discussion would be most wel

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Nathan Torkington
Nick Tonkin writes: > Obviously you (or ORA) _are_ competing with "mod_perl Developer's > Cookbook" ... > > If ORA wanted to cover mod_perl they should not have let Geoff & co. get > away to another publisher. Actually, we do cover mod_perl--we published the Eagle book, "Writing Apache Modules ..

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Thomas Eibner
On Wed, Dec 11, 2002 at 01:13:30PM -0800, Nick Tonkin wrote: > Obviously you (or ORA) _are_ competing with "mod_perl Developer's > Cookbook" ... Why wouldn't they be? They have "Writing Apache modules with Perl and C" after all. And with Stas' and Eric's book on the way (www.modperlbook.org) they

Re: Perl Cookbook modperl chapter

2002-12-11 Thread Nick Tonkin
Nat, Obviously you (or ORA) _are_ competing with "mod_perl Developer's Cookbook" ... If ORA wanted to cover mod_perl they should not have let Geoff & co. get away to another publisher. Trying now to cover highly complex topics like "Authenticating in mod_perl" in a recipe in a chapter of the P

RE: Perl Cookbook modperl chapter

2002-12-11 Thread Greg_Cope
> From: Nathan Torkington [mailto:[EMAIL PROTECTED]] > Sent: 11 December 2002 20:58 > To: [EMAIL PROTECTED] > Subject: Perl Cookbook modperl chapter > > > I also need help on content. I'm not competing with Geoff, Randy, and > Paul's excellent book (mod_perl Developer's Cookbook)--they have 630