[Dbix-class] Detecting connection errors

Alberto Luaces aluaces at udc.es
Tue Oct 20 17:01:01 GMT 2015


Peter Rabbitson writes:

> On 10/15/2015 04:09 PM, Alberto Luaces wrote:
>>
>> Maybe the saner approach with sqlite could be to check first the
>> existence of the database file, before trying to connect to it.
>>
>
> You could do that yourself by changing the default open flags, as
> described in
> https://metacpan.org/pod/DBD::SQLite#Database-Name-Is-A-File-Name

[...]

Great, thank you for the pointer!

-- 
Alberto




More information about the DBIx-Class mailing list