You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2000/08/16 07:14:43 UTC

Re: Unexpected pnotes() behavior

pnotes() expects a reference, it probably should croak if it's passed
something else.  it just increments the reference count of the sv, it does
not make a copy.  if you don't want to use a reference, you can copy it
yourself:

$r->pnotes(key => "$string")