On Thu, Oct 28, 1999 at 02:07:12PM -0400, Ken Y. Clark wrote:
> 
> 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.  
Oh, that's because everything to the left of => is treated as string
unless there's something that tells perl otherwise. I used +CONSTANT
syntax and it worked for me.

Andrei

-- 

Reply via email to