John Russell wrote:
> In MP1 it was possible to do..
> 
> Authorization Phase
> 
> sub handler {
> 
>   my $dbh;
> 
>   $dbh = DBI->connect(..)
>       || return "Error connecting.\n $DBI::errstr\n";
> 
>   $r->pnotes(DBH => $dbh);
> 
> 
> Response Phase
> 
> sub handler($$) {
> 
>   my $dbh = $r->pnotes('DBH');
> 
> However this doesn't work in MP2 because $dbh is a hash

as indicated by others here, the problem rests elsewhere in your code and
not with pnotes() proper.

nevertheless, I've added some tests to our pnotes tests to verify that $dbh
does indeed currently work and doesn't ever loose its blessed magic during
our storage process.

  http://svn.apache.org/viewcvs?rev=391122&view=rev

--Geoff

Reply via email to