[CDBI] Re: how can I make data returned from CDBI methods be considered untainted?

Michael G Schwern schwern at pobox.com
Thu Mar 8 09:58:07 GMT 2007


Edward J. Sabol wrote:
> Michael Schwern retorted:
>> That's three times the reason not to use it!
> 
> Actually, I was just perusing the docs for CDBI 3.0.16, and guess what?
> _default_attributes() is documented after all, so :-p
> 
> http://search.cpan.org/~tmtm/Class-DBI-v3.0.16/lib/Class/DBI.pm#Dynamic_Database_Connections_%2F_db_Main

That's not documentation, that's a passing reference.  It tells you little
about what it does or what its interface is.

Its an encapsulation leak.



More information about the ClassDBI mailing list