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: "Le, Michelle" <Michelle_Le at bmc dot com>
Subject: db to ct lib conversion question
Date: Feb 16 2001 5:31AM

Hi,

I've been tasked to convert our current sybperl script from using db-lib to
ct-lib.  After adding "use Sybase::CTlib;" the compilation failed with the
following errors:

hamachi(NetCmmnd)68% dailyDBBackup
Can't locate Sybase/CTLib.pm in @INC (@INC contains:
/usr/nc/lib/perl/sun4-solaris /usr/nc/lib/perl
/usr/nc/lib/perl5/site_perl/5.005/sun4-solaris
/usr/nc/lib/perl5/site_perl/5.005 .) at dailyDBBackup line 36.
BEGIN failed--compilation aborted at dailyDBBackup line 36.

I tried to create a local directory called Sybase and have a copy of
CTlib.pm in that directory but it does not work.  How do I change @INC to
include the path to CTlib.pm?  How do I get this to work? I'm new to
sybperl, please help!

Thank you,

Michelle