Perl 列举所有的 ODBC 驱动程序 2015/12/14 16101 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"; }