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: Frank Gessner <frank at netconsult dot netconx dot de>
Subject: use SybPerl 2.x with old code for 1.x
Date: Mar 5 1996 12:10AM

We would like to use our programs for SybPerl Version 1.x with the Sybperl 2.03 without rewriting the db-routines. 
Code with the 'old' synatx like
	
	&dblogin ( $user, $pswd, $server);
	&dbuse( $db); 
	&dbcmd("exec sp_Procedure \'$param\"); &dbsqlexec;
	while(@fields = &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. 
What do I wrong?

Frank Geßner
_________________________________________________

NetConsult GmbH	Tel : 	++49-3641-5808-33
07743 Jena		FAX: 	++49-3641-5808-15
Ebertstraße 16		Mail:	frank@netconx.de	
_________________________________________________