You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Kreimendahl, Chad J" <Ch...@umb.com> on 2004/06/17 21:57:19 UTC
Pnotes in apache2
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?
--
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
Re: Pnotes in apache2
Posted by Stas Bekman <st...@stason.org>.
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:stas@stason.org 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