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


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to