Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: David Carter <david at solbors dot no>
Subject: RE: single quotes in text datatypes
Date: Apr 17 1998 9:24AM

Hi All,

Many thanks to everyone who responded to my query. 

> Use the generic quote operators:
> $dbh->dbproc(qq[The quick brown fox jumps over the lazy dog's tail.]);

This looks cool and is surely comprehensive. I plumped for:

$body =~ s/\'/\'\'/g;

though as we have a intermediate module to DBlib which does get, put and
new SQL and I couldn't figure out how to make it like dbproc. This module
was hanging around before I came here. 

I'll figure the last one out though, I'm sure, as I'm going to set up
Sybperl on this Linux box (we've got it set up on Sun kit for our servers) 
and write some middleware stuff for Apache. However, I'm trying to install
Sybperl-2.09 now and get this error when doing a 'make test':

PERL_DL_NONLAZY=1 ./../perl -I.././blib/arch -I.././blib/lib
-I/usr/lib/perl5/i386-linux/5.00401 -I/usr/lib/perl5 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
        Test returned status 0 (wstat 11)
        Test returned status 0 (wstat 11)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/Test/ line 219.
make[1]: *** [test_static] Error 11
make[1]: Leaving directory `/usr/lib/perl5/sybperl-2.09/CTlib'
make: *** [test] Error 2

The static ELF version of CTlib in /usr/local/sybase. The platform
is 2.0.32 Redhat Linux, i586.

Any suggestions will be greatly appreciated.
Many TIA,
SOL Bors.