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: "Tanja Davidson" <tanja_davidson at ncsu dot edu>
Subject: Re: single quotes and perl
Date: Jan 12 2001 5:57PM

okay, now I know what was different, in case anyone is interested...

here's the code I was using for the search in sql:

$sql="select  blah, blah,  where  name like '" . $lname . "' AND.....

when I tried it this time I had changed it to this:

$sql ="select blah, blah, where name like '$lname' and ....

ie. the lesson learned is NOT to break up my sql string by
concatenating.

whew!