Kjetil Kjernsmo wrote:
OK, I have been working a couple of nights now to do this, and have been making some progress. But I seem to have difficulties with actually passing the tied hash, that is, making sure I pass the actually tied object, not just the data hash.
I currently assign to pnotes like this:
    $r->pnotes(session => tied %session);

No, you want the hash, not the object it's tied to:
$r->pnotes('session' => \%session);

Then use it like this:
my $session_ref = $r->pnotes('session');
$session->{'key'} = 'value';

- Perrin

Reply via email to