BTW, on line 21 I had to add an argument to Term::Realine's constructor to make it work here - I just passed $0. According to http://search.cpan.org/~flora/perl-5.14.2/lib/Term/ReadLine.pm the constructor takes a string.
Doh !, That doesn't happen with me ! I guess it is because, when available, Term::ReadLine uses Term::ReadLine::Gnu, and this one doesn't require the argument
if I have a csv file called xxx.csv
Uh oh, SQLite seems to interpret the dot as
database.
table, I guess the best option here is to strip the suffix of the file.
Thanks for the feedback, I updated the script.