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: Jun Zhang <junz at tpg dot com>
Subject: why I have to copy Sybperl.pm to lib path myself
Date: Jan 28 1998 7:42PM

Thanks, Mike, at last I have a working sybperl.
But I still have a question.
When I did the performance testing for new sybperl:

in my small program:

#!/usr/local/perl5.004_4/bin/perl5.00404
use Sybperl;
etc etc.

@INC is
/usr/local/perl5.004_4/lib/sun4-solaris/5.00404
/usr/local/perl5.004_4/lib
/usr/local/perl5.004_4/lib/site_perl/sun4-solaris
/usr/local/perl5.004_4/lib/site_perl

but Sybperl.pm is in /usr/local/perl5.004_4/ext/sybperl-2.09/Sybperl
so, it complains, Sybperl.pm could not be found.

But after I added the statement:
push(@INC,'/usr/local/perl5.004_4/ext/sybperl-2.09/Sybperl');
still compained, Sybperl.pm could not be found.

In the end, I copied Sybperl.pm to /usr/local/perl5.004_4/lib. Program   
started to behave well.

I do not understand, If I have to copy Sybperl.pm, how about all the   
other .pm files like, Ctlib.pm etc.

Anyone else has the same problem?

Thanks

Junz@tpg.com
Ext. 914-946-6060 ext. 229