Up Prev Next
From: "Goyal, Prashant" <Prashant dot Goyal at gs dot com>
Subject: RE: Info needed
Date: Jun 22 1999 3:35PM
I will try to re-write the scripts
> -----Original Message-----
> From: Michael Peppler [SMTP:firstname.lastname@example.org]
> Sent: Tuesday, June 22, 1999 10:18 AM
> To: SybPerl Discussion List
> Subject: Re: Info needed
> Goyal, Prashant writes:
> > Hi,
> > I am glad to find your site.
> > My issue:
> > It has been told to us that sybperl is non-Y2k Compliant .
> Who told you that?
> > So All the
> > perl scripts are asked to be changed to Sybase DBlib.
> > A sample format of our scripts are :
> > require "sybperl.pl";
> > require "Sybperl_path.pl";
> > $dbuse.....;
> > &dbcmd..;
> > &dbsqlexec...;
> > &dbresults ...;
> > Can you please let me know if the statement that sybperl being used in
> > above format is non -compliant. If so , then what is the best way to do
> > Is it that if i change just the require statement as " use
> > all the functions work. Please any pointers to the above would be
> > appreciated.
> Your scripts may actually work out of the box, as long as you always
> use the &dbXXX(...) form (ie, always include the ()), and that you
> always require sybperl.pl.
> However, if you don't have too many scripts I would recommend that you
> re-write them to the Sybase::DBlib format, which would be
> use Sybase::DBlib;
> require 'sybutil.pl'; # for error handlers
> $dbh = Sybase::DBlib->dblogin($user, $pwd, $server);
> See also the information in the sybperl man page, and on my web page
> (see my .sig below).
> Michael Peppler -||- Data Migrations Inc.
> email@example.com -||- http://www.mbay.net/~mpeppler
> Int. Sybase User Group -||- http://www.isug.com
> Sybase on Linux mailing list: firstname.lastname@example.org