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:
Date: Dec 15 1998 2:15PM

>>>>> "Krishna" == Krishna Kumar  writes:

Krishna> hi was just trying this script when i got an error message

Krishna> $user="name"; $pwd="pword"; $dbh = SYBASE::DBLIB $user,$pwd;
Krishna> $ret = $dbh->sql("select * from sysusers",sub{print "@_"; });

Krishna> saying cant locate method DBLIB via package "SYBASE" at

It should be:

$dbh = new Sybase::DBlib $user, $pwd;
      ^^^^

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com