in reply to DBD Drivers query
my @datasources = DBI->data_sources($driver);
If I remove the statements that deal with the data_sources, it works fine:
#!/usr/bin/perl use strict; use DBI; my @drivers = DBI->available_drivers(); die "No drivers found!\n" unless @drivers; foreach my $driver ( @drivers ) { print "Driver: $driver\n"; }
Which returns:
Driver: ADO Driver: ExampleP Driver: Oracle Driver: Pg Driver: Proxy Driver: mysql
Maybe DBD::Proxy has a problem with data_sources?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBD Drivers query
by costas (Scribe) on Apr 06, 2001 at 12:41 UTC | |
by sutch (Curate) on Apr 06, 2001 at 17:38 UTC | |
by costas (Scribe) on Apr 06, 2001 at 18:52 UTC |