I wish to propose a patch for DBI.  I have patched in the methods but
don't know how to patch in new DBI attributes?

Please can you advise how to add new attributes to the DBI
specification?  Basically I want to add an attribute, say

DBI->{myAttribute}

which would have a default value at the class level.  The attribute is
transparently accessible at every level (class, and handle).  The
default value can be overridden by a DBD or set by the user on a per
handle basis:

$dbh->{myAttribute} = 'Overrides class/DBD value but doesn't change it';
$sth->{myAttribute} = 'Overrides dbh value but doesn't change it';

I've looked over the DBI source but can't figure out where/how to
declare such attributes

--
  Simon Oliver

Reply via email to