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: Rick Smith <rsmith at nac dot net>
Subject: Re: Got Slakware & Sybperl to work!
Date: Oct 16 1997 12:28PM


OK I got sybperl working.  woohoo.  now, following the examples,
I can get it to do a query, and return results.

Can anyone send me a perl script that uses CTlib calls to query
a SQL db, return results, and DO something with them ?  I'm having
trouble figuring out the format of how the data comes across...

thanks

On Wed, 15 Oct 1997, Michael Peppler wrote:

> Rick Smith wrote:
> > 
> > GOT FURTHER!!!!  woohoo.
> > 
> > Now.
> > 
> > Can anyone tell me what this means at the end of make test ?
> > :
> > 
> > To install the new "perl" binary, call
> >     make -f Makefile.aperl inst_perl MAP_TARGET=perl
> > To remove the intermediate files say
> >     make -f Makefile.aperl map_clean
> > make[1]: Leaving directory `/usr/local/src/sybperl-2.07'
> > make[1]: Entering directory `/usr/local/src/sybperl-2.07/BCP'
> > make[1]: Nothing to be done for `test'.
> > make[1]: Leaving directory `/usr/local/src/sybperl-2.07/BCP'
> > make[1]: Entering directory `/usr/local/src/sybperl-2.07/CTlib'
> > PERL_DL_NONLAZY=1 ./../perl -I.././blib/arch -I.././blib/lib
> > -I/usr/lib/perl5/i386-linux/5.003 -I/usr/lib/perl5 -e 'use Test::Harness
> > qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> > t/ctlib.............ok
> > t/cursor............Identifier "Sybase::CTlib::VERSION" used only once:
> > possible typo at .././blib/lib/Sybase/CTlib.pm line 858.
> > Identifier "Sybase::CTlib::Version" used only once: possible typo at
> > ..././blib/lib/Sybase/CTlib.pm line 858.
> > Your vendor has not defined Sybase::CTlib macro ct_sql, used at t/cursor.t
> > line 48 (main).
> 
> Somehow the AutoLoader isn't working right.
> 
> The quick fix is to edit CTlib/CTlib.pm and move the __END__ token to
> the
> very end of the file.
> 
> Michael
> -- 
> Michael Peppler       -||-  Data Migrations Inc.
> mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler
>