Re: DBI error

2008-07-22 Thread Panda-X
Ah! Yes!! Thank you very much!! Problem fixed now =) 2008/7/22 Rob Dixon <[EMAIL PROTECTED]>: > > Panda-X wrote: > > > > I've got this error, anything I can do ? > > > > "Can't locate auto/DBI/data_source.al in @INC " > > > > Code : > > > >use DBI; > >my @dataSource = DBI -> data_

Re: DBI error

2008-07-22 Thread Rob Dixon
Panda-X wrote: > > I've got this error, anything I can do ? > > "Can't locate auto/DBI/data_source.al in @INC " > > Code : > >use DBI; >my @dataSource = DBI -> data_source ( "mysql" ) ; The method call is DBI->data_sources('mysql'); > and if I change the as this : > > us

Re: DBI error

2008-07-21 Thread Amit Saxena
On Tue, Jul 22, 2008 at 9:18 AM, Panda-X <[EMAIL PROTECTED]> wrote: > Hi, > > I've got this error, anything I can do ? > > "Can't locate auto/DBI/data_source.al in @INC " > > Code : > > use DBI; > my @dataSource = DBI -> data_source ( "mysql" ) ; > > and if I change the as this : > >u

Re: DBI error message

2001-09-25 Thread Andrea Holstein
Danilov Dmitry wrote: > > ... > #!/usr/bin/perl > use DBI; > my $dbh = DBI->connect > ("dbi:Sybase:mssql", 'test', 'test'); > die "Unable for connect to server $DBI::errstr" > unless $dbh; > my $rc; > my $sth; > $sth = $dbh->prepare("select * from test"); > if($sth->execute) { > while(@da