programming-examples/perl/Win32/Getting the ODBC Drivers.pl

8 lines
230 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
use Win32::ODBC;
%drivers = Win32::ODBC::Drivers();
local $" = ", ";
foreach $driver (sort keys %drivers){
@attributes = split (/;/,$drivers{$driver});
print "Driver = $driver\n";
print "@attributes\n\n";
}