sybperl-l Archive
Up Prev Next
From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: use SybPerl 2.x with old code for 1.x
Date: Mar 4 1996 4:34PM
> From: Frank Gessner
>
> We would like to use our programs for SybPerl Version 1.x with the =
> Sybperl 2.03 without rewriting the db-routines.=20
> Code with the 'old' synatx like
> =09
> &dblogin ( $user, $pswd, $server);
> &dbuse( $db);=20
> &dbcmd("exec sp_Procedure \'$param\"); &dbsqlexec;
> while(@fields =3D &dbnextrow() ) {
> &doIt (@fields);
> }
> &dbclose();
>
> should run with sybperl 2.x. So I 'required' the sybperl.pl from =
> SybPerl 2.03 and got more errors then succesful results.=20
> What do I wrong?
How about letting us know what the actual errors are? This might help
track down what the problem is (it *should* normally work...)
Michael
|