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: Dirk Rejahl <dirk dot rejahl at d2privat dot de>
Subject: Problem with sybperl and HTML::Embperl
Date: May 14 1998 11:28AM

Hi,

does anybody know how to use sybperl with  HTML::Embperl.

I wrote the following lines of code:

-----------


Perl config (like perl -V)



[- use Sybase::DBlib -]

[-   $dbh = new Sybase::DBlib 'user', 'passwd', $DSQUERY, 'test_app';
     $dbh->dbcmd("select * from master..sysprocesses\n");
     $dbh->dbsqlexec;
     $dbh->dbresults; -]

[$    while( (%dat = $dbh->dbnextrow(1) )	$]

[+ $dat{suid}; +]
[$ endwhile $] -------------- and got the folling error message -------------- [14026]ERR: 24: Line 8: Error in Perl code: syntax error at /home/tesd/stov_dbe5/tools/lib/perl5/site_perl/Sybase/DBlib.pm line 13, near "package Sybase::DBlib::_attribs" BEGIN failed--compilation aborted (in cleanup) syntax error at /home/tesd/stov_dbe5/tools/lib/perl5/site_perl/Sybase/DBlib.pm line 13, near "package Sybase::DBlib::_attribs" BEGIN failed--compilation aborted at /localdisk/sde/html/sde_list_projects.html.perl line 8. [14026]ERR: 24: Line 10: Error in Perl code: Can't locate object method "new" via package "Sybase::DBlib" at /localdisk/sde/html/sde_list_projects.html.perl line 10. [14026]ERR: 24: Line 15: Error in Perl code: syntax error at /localdisk/sde/html/sde_list_projects.html.perl line 15, at EOF -------------- does anybody has an idea what is wrong.... Thanks Dirk ______________________________________________ Dirk R E J A H L Entwicklung Funknetzdatenbanken Mannesmann Mobilfunk GmbH _/_/ _/_/_/ Abteilung TES _/ _/ _/ _/ Am Seestern 1 _/ _/ _/ 40543 Duesseldorf _/_/_/ _/_/_/_/ Germany D2 - IT'S MY LINE email: Dirk.Rejahl@D2privat.de phone: +49 211 533 3221 oder +49 172 499 3221 fax: +49 211 533 2124 oder +49 172 499 2124 ______________________________________________