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: Mike Reilley <mreilley at clc dot cc dot il dot us>
Subject: ct_sql error ??
Date: Oct 7 1998 2:33AM

Hi All,

I am new to SYBPERL obtained my copy from ACTIVESTATE

the following code gives me the following error:

#!/usr/local/bin/perl

    use Sybase::CTlib;

    ct_callback(CS_CLIENTMSG_CB, \&msg_cb);
    ct_callback(CS_SERVERMSG_CB, "srv_cb");
    $uid = 'Mikey';                 $pwd = 'XXXXXX'; $srv = 'F50_SYBASE';

    $X = Sybase::CTlib->ct_connect($uid, $pwd, $srv);
   
    

     @back  = X-> ct_sql("use HEPROD");

ERROR:

  Can't locate object method "ct_sql" via package "X" at ......

Any ideas what is causing this would be greatly appreciated.
Thanks in advance for your time.
Mike Reilley
DBA
Data Center
College of Lake County
19351 West Washington St.
GraysLake, IL 60030-1198
Voice     708-499-2878
Voice     847-543-2858
Voice     847-223-6601 Ext 2858
FAX       847-543-3858
Internet  mreilley@clc.cc.il.us
WEB      www.clc.cc.il.us
===========================================================
        It's not a BUG, it's a DESIGN FEATURE !

        Berst's Bywords: It's not hard to meet expenses. They're everywhere.
===========================================================