Add file to database
This commit is contained in:
parent
54e6b0a139
commit
80e3c8cc3a
3 changed files with 66 additions and 48 deletions
14
Translator/translate.pl
Normal file
14
Translator/translate.pl
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/perl
|
||||
use strict;
|
||||
use warnings;
|
||||
use v5.26;
|
||||
|
||||
use Carp;
|
||||
use File::Find;
|
||||
use DBI;
|
||||
use lib 'sign.pl';
|
||||
|
||||
my $db =
|
||||
DBI->connect( "DBI:SQLite:dbname=../data.db", "", "", { RaiseError => 1 } )
|
||||
or confess $DBI::errstr;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue