Sorry, I mistyped. Was in too much of a hurry to get out of the office.
I've set the value of monkey in PerlFixupHandler. Once I get to my PerlResponseHandler and:
my $something = $r->pnotes;
$something is an unblessed reference (instead of a ref to Table as in the docs).
we need to see a short code sample that we can reproduce the problem with. Ideally, Geoff's tarball is the most preferred way to do that. It can be found here:
http://perl.apache.org/docs/2.0/user/help/help.html#Problem_Description
Kreimendahl, Chad J wrote:
> Make test does:
> t/modperl/pnotes........................ok
>
>
> But, when attempting to create a pnotes (which is an APR::Table?)
>
> my $hashref = {};
> my $pn = $r->pnotes();
> my $ret = $pn->set('monkey' => $hashref);
>
> $ret is an unblessed hash ref... Should this be blessed back to
> RequestUtil?
It's perfectly well documented:
http://perl.apache.org/docs/2.0/api/APR/Table.html#C_set_
$table->set() returns no value. Make sure that you use the latest mp2.
http://perl.apache.org/download/index.html
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
