my $r = Apache->request(); # or grab it when passed to handler $r->pnotes( Login => 1 ); my $foo = $r->pnotes( 'foo' );