[...]
+ # add driver prefix to attribute name if it doesn't have it already + $attr_name = $driver_prefix.$attr_name + unless $attr_name =~ /^$driver_prefix/o; + + # Store attribute into %$attr, replacing any existing value. + # The DBI will STORE() these into $dbh after we've connected + $attr->{$attr_name} = $attr_value;
What if $attr_name is in mixed case? DBI::DBD says:
Note the prefix drv_ in the attribute names: it is required that your private attributes are lowercased and use such a prefix.
Is STORE() responsible for checking/changing this or should the connect() code above handle this?
Steffen