in reply to How to know if a DBI connexion is read-only?
"without failing on writing" I don't think there is a way that will work for all DBDs under DBI. e.g., ReadOnly in DBD::ODBC is mapped to the ODBC connection attribute READ_ONLY and you set it to give the driver a hint you will only be reading but it does not stop you writing.
|
---|
In Section
Seekers of Perl Wisdom