Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: dbd and ctlib (fwd)
Date: Mar 28 2002 10:09PM
Michael Peppler writes:
> Stephen.Sprague@morganstanley.com writes:
> > just wondering. I'm using DBI (v1.20) DBD::Sybase (v0.94) and
> > Sybase::CTlib (v2.14) and getting the following annoying prototype
> > mismatches.
> > Michael, must we live with this?
> > Prototype mismatch: sub main::CS_COMPUTE_RESULT () vs none at /ms/dist/perl5/PROJ/core/5.00503-3/exec/lib/perl5/Exporter.pm line 157
> > Exporter::export('Sybase::CTlib', 'main') called at /ms/dist/perl5/PROJ/core/5.00503-3/exec/lib/perl5/Exporter.pm line 182
> This comes from:
> DBD::Sybase using ALIAS: to define these symbols, and Sybase::CTlib
> using the traditional way to do this.
Actually - you can get around the problem, and still get the exact
same functionality, by simply not use'ing the DBD::Sybase module.
By using the Sybase::CTlib module you'll get the CS_xxx_RESULT symbols
defined, and that's the only thing that use DBD::Sybase will bring
(maybe not exactly what you want to hear, but a good work-around for
Michael Peppler Data Migrations, Inc.
email@example.com *or* firstname.lastname@example.org
International Sybase User Group: http://www.isug.com