My perl script looks like 

        use DBI;
        my $dbh = DBI->connect('dbi:Oracle:prod', 'user', 'password');

DBI is not returining any value here, I have also tried to use RaiseError
but to no use.

Should I reinstall tPerl along with these modules if yes then where can I
find installation procedure for Win NT>

Thanks
Parmod

> -----Original Message-----
> From: Honza Pazdziora [mailto:[EMAIL PROTECTED]
> Sent: Sunday, August 24, 2003 5:36 PM
> To: Parmod Chander Goyal
> Cc: [EMAIL PROTECTED]
> Subject: Re: DBI does not give any error.
> 
> 
> On Sun, Aug 24, 2003 at 01:53:25AM +0530, Parmod Chander Goyal wrote:
> > 
> > I am new to perl and facing a problem in existing setup.
> > 
> > My perl executable .pl file is not giving any error. I have 
> debugged it and
> > found that @dbh=DBI->connect() is not working (these were 
> working for last 1
> > year).
> 
> You gave us list of your modules, but you didn't give use a feeling of
> your code. So, how does your .pl script look like? Is it like
> 
>       use strict;
>       use DBI;
>       my $dbh = DBI->connect('dbi:Oracle:prod', 'user', 'password',
>               { RaiseError => 1 });
> 
> ?
> 
> -- 
> --------------------------------------------------------------
> ----------
>  Honza Pazdziora | [EMAIL PROTECTED] | 
> http://www.fi.muni.cz/~adelton/
>  .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, 
> XML/XSL, ...
>               Only self-confident people can be simple.
> 

Reply via email to