|
|
sybperl-l Archive
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
>
> Rats.
>
> 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
you.
(maybe not exactly what you want to hear, but a good work-around for
now).
Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler@peppler.org *or* mpeppler@mbay.net
http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com
|