PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Warning message about CTlib::Version
Date: Dec 11 1997 6:06PM

Victor Cheng wrote:
> 
> I finally got Sybperl 2.08.51 working on my NT box with VC++ 5.0.
> However, when running my first CTlib script, the following messages keep
> poping up. Does anyone know how to disable them from the source, since I
> don't want to repeat it in every Sybperl script:
> 
> Name "Sybase::CTlib::VERSION" used only once: possible typo at
> C:\NTResKit\Perl\lib/perl5d
> b.pl line 1131.
> Name "Sybase::CTlib::Version" used only once: possible typo at
> C:\NTResKit\Perl\lib/perl5d
> b.pl line 1131.

Edit CTlib.pm and add

$VERSION = $VERSION;
$Version = $Version;

near the @EXPORT line.

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler