use warnings; use strict; use DBI; my $dbh = DBI->connect ("dbi:CSV:", undef, undef, { f_ext => ".csv/r", f_encoding => "utf-8", # f_enc is not a supported attribute }); my $sth = $dbh->prepare ("select * from POINT where ID_DEVTYP like 'INTELI%' AND ID_POINT like 'AUTO%'"); $sth->execute;