for the little i know SQLite is not well suited to multiple contemporary access. or maybe you will just have read access? See DBD::SqLite issue while accessing DB from multiple processes where sqlite_use_immediate_transaction is also suggested.
Regarding the duplication of code: abstract all parts needed by both interfaces and put them into a testable module.
L*
In reply to Re: Multiuser app with SQLite, Dancer2 and CLI
by Discipulus
in thread Multiuser app with SQLite, Dancer2 and CLI
by kaldor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |