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).
 
 
 

        -----Original Message----- 
        From: Stas Bekman [mailto:[EMAIL PROTECTED] 
        Sent: Sat 6/19/2004 3:44 PM 
        To: Kreimendahl, Chad J 
        Cc: [EMAIL PROTECTED] 
        Subject: Re: Pnotes in apache2
        
        

        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
        

Reply via email to