hi havi,
habe jetzt folgendes versucht:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl
use strict;
use warnings;
use DBI;
my $mdb_file = "C:\\perl\\access\\db1.mdb";
my $connection_string = q{;Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:System database=C:\\WINNT\\system\\system.mdw};
my $cn = DBI->connect("dbi:ADO:Data Source=".$mdb_file.$connection_string, "");
my $alles = $cn->selectall_arrayref("SELECT * FROM Tabelle1");
foreach my $row ( @{$alles} ) {
print join (";", @{$row}), "\n";
}
1;
jetzt kommt aber leider ein Fehler:
install_driver(ADO) failed: Can't locate DBD/ADO.pm in @INC (@INC contains: D:/Perl/lib D:/Perl/site/lib .) at (eval 1) line 3.
Perhaps the DBD::ADO perl module hasn't been fully installed,
or perhaps the capitalisation of 'ADO' isn't right.
Available drivers: CSV, ExampleP, File, ODBC, Pg, Proxy.
ich kann das Modul DBD/ADO.pm bei CPAN aber nicht finden
Was kann ich da jetzt machen?