$r->pnotes( OurHash => { foobar => 1 } );
--d
Matisse Enzer wrote:
Is there an appropriate way in mod_perl 2 for me to take a hashref and somehow add it to the Apache request object so that Perl code later in the request handling process can access it, for example with:
my $hash = $r->{OurHash};
or something like that?
Specifcally what i am trying to do is to take a hash created using Apache::Session (a tied hash) and have a reference to that hash be available in the Apache request object for the rest of the request's lifetime.