[DBIx-Class-Devel] [dbsrgits/dbix-class] Fix parsing driver names from DSN when the middle part includes DBI attributes (#99)

Fabrice Gabolde notifications at github.com
Fri Apr 1 18:58:13 GMT 2016


> Huh... I wasn't aware of this being a thing...

I just found out today as well actually while looking up ways to pass a full DSN + username in a single env variable. I'm using DBI_USER for now.

> Hm hm hm, shouldn't this perhaps then simply be /^dbi:(\w*)/ in order to match what DBI is doing?

Yeah, I completely forgot to check the DBI source while I was doing this. Ideally I guess DBI->parse_dsn should be used but that would set a strong requirement on DBI 1.43+.

Do you need me to fix this PR with the DBI regex?


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/99#issuecomment-204522870
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20160401/03bf84bf/attachment-0001.htm>


More information about the DBIx-Class-Devel mailing list