On Thu, 28 Oct 1999, John Siracusa wrote: > On 10/28/99 1:31 PM, Ken Y. Clark wrote: > > for what it's worth, here's what i do: > [snip] > > my $err = $r->pnotes(ERROR_NAME) or return OK; > > Speaking of pnotes(), how stable, API-wise, is it? It isn't documented > at all in the O'Reilly Apache Modules book, but I was very happy to find > it in the Apache.pm docs. > > -John pnotes seems stable to me. i believe it's capable of holding some pretty dense data structures -- surely much more than my measly error string. one note, however: "ERROR_NAME" is a string constant i define in a base object. e.g., "use constant ERROR_NAME => 'xFoo-Error'" when i tried to assign my error intothe pnotes hash with the comma operator e.g., "$r->pnotes(ERROR_NAME =>$err)" i got errors, and i don't know why. ky
- Intentional Premature Finish in an Apache Module Public Interactive
- Re: Intentional Premature Finish in an Apache Modu... Ken Y. Clark
- Re: Intentional Premature Finish in an Apache ... John Siracusa
- Re: Intentional Premature Finish in an Apa... Ken Y. Clark
- Re: Intentional Premature Finish in an... John Siracusa
- Re: Intentional Premature Finish in an... Andrei A. Voropaev
- Re: Intentional Premature Finish in an Apache Modu... Doug MacEachern
- Re: Intentional Premature Finish in an Apache ... John Siracusa
- Re: Intentional Premature Finish in an Apa... Doug MacEachern
- RE: Intentional Premature Finish in an Apache Modu... Eric Cholet
- Re: Intentional Premature Finish in an Apache ... Public Interactive
- RE: Intentional Premature Finish in an Apache Modu... Eric Cholet
- Re: Intentional Premature Finish in an Apache Modu... Public Interactive