Results 1 to 2 of 2

Thread: perl

  1. #1
    Join Date
    Nov 2002
    Posts
    94

    Unanswered: 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.

  2. #2
    Join Date
    Sep 2002
    Location
    Germany, near Aachen
    Posts
    120

    Re: perl

    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;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •