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_
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
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
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