If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > perl

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-23-02, 15:34
ramshree ramshree is offline
Registered User
 
Join Date: Nov 2002
Posts: 90
perl

p1.pl :
==========
#!d:\perl\bin\perl

my($dbproc);
my($login,$passwd,$srvr) = ('sa','sybase','NJP01738');
$dbproc = new Sybase::DBlib $login, $passwd, $srvr;
$dbproc->dbclose();

D:\PERL\scripts>perl p1.pl
Can't locate object method "new" via package "Sybase::DBlib" at p1.pl line 5.

Please let me know at mail_info@rediffmail.com

Thank you.
Reply With Quote
  #2 (permalink)  
Old 01-06-03, 05:14
Bernd Dulfer Bernd Dulfer is offline
Registered User
 
Join Date: Sep 2002
Location: Germany, near Aachen
Posts: 120
Re: perl

Quote:
Originally posted by ramshree
p1.pl :
==========
#!d:\perl\bin\perl

my($dbproc);
my($login,$passwd,$srvr) = ('sa','sybase','NJP01738');
$dbproc = new Sybase::DBlib $login, $passwd, $srvr;
$dbproc->dbclose();

D:\PERL\scripts>perl p1.pl
Can't locate object method "new" via package "Sybase::DBlib" at p1.pl line 5.

Please let me know at mail_info@rediffmail.com

Thank you.
Insert the following line after #!d:\perl\bin\perl

use Sybase::DBlib;
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On