RE: $dbh->tables() printing error messages for Oracle under Cygwi n pe rl 5.8
From: Mark Buckle (mark.buckle_at_intechsolutions.co.uk)
Date: 10/31/03
- Previous message: Dean Arnold: "Re: (Slightly OT) Dec. '03 DDJ Article"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'dbi-users@perl.org'" <dbi-users@perl.org> Date: Fri, 31 Oct 2003 09:36:53 -0000
Michael,
Thanks for that reply. The error still occurs with DBD-Oracle-1.14, but
I'll replace the deprecated call with your suggestion.
Mark.
-----Original Message-----
From: Michael A Chase [mailto:mchase@ix.netcom.com]
Sent: 30 October 2003 23:35
To: Mark Buckle; 'dbi-users@perl.org'
Subject: Re: $dbh->tables() printing error messages for Oracle under
Cygwin pe rl 5.8
On Thu, 30 Oct 2003 16:32:49 -0000 Mark Buckle
<mark.buckle@intechsolutions.co.uk> wrote:
> This call :-
>
> $dbh->tables() ;
>
> gives rise to this error.
>
> Use of uninitialized value in string eq at
> /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/DBD/Oracle.pm line 327.
> Use of uninitialized value in string eq at
> /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/DBD/Oracle.pm line 327.
> Use of uninitialized value in string eq at
> /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/DBD/Oracle.pm line 327.
>
> DBI version 1.38
> DBD::Oracle version 1.12
>
> Oracle client and server version 8.1.7
> Has anyone any ideas what this could be ?
I'd first look at line 327 of DBD/Oracle.pm. A newer version of
DBD::Oracle might also be worth trying.
Calling tables() with no arguments is deprecated. Try
@names = $dbh->tables( "%", "%", "%", "%" );
-- Mac :}) ** I usually forward private questions to the appropriate mail list. ** Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. ************************************************************************************** This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. It must not be used by, or its contents copied or disclosed to, persons other than the intended recipient. However, the contents of this e-mail may be intercepted, monitored or recorded by Insurance Technology Solutions Limited for the purposes of ensuring compliance with its policies and procedures. Any liability (in negligence or otherwise) arising from any third party acting, or refraining from acting, on any information contained in this e-mail is excluded. If you have received this e-mail by mistake please notify our System Administrators at mail.admin@intechsolutions.co.uk and delete this e-mail. It is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. Please carry out such virus and other checks as you consider appropriate. No responsibility is accepted by Insurance Technology Solutions Limited in this regard. **************************************************************************************
- Previous message: Dean Arnold: "Re: (Slightly OT) Dec. '03 DDJ Article"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|