On 10/28/99 2:07 PM, Ken Y. Clark wrote:
> 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.
Oh yeah, I've got a whole big structure hanging off a single pnotes()
entry. It's very convenient :)
> 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.
Probably because the => operator quotes its left argument, so the hash
key is the string "ERROR_NAME", not $err. You can correct that by
forcing the function call:
$r->pnotes(ERROR_NAME() =>$err);
-John
- 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
- RE: Intentional Premature Finish in an Apache Modu... Eric Cholet
