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

Reply via email to