Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Mysql moduleby Cabrion (Friar) |
on Mar 07, 2003 at 01:58 UTC ( [id://241055]=note: print w/replies, xml ) | Need Help?? |
I'm not a Mysql buff, so I don't know about the syntax of Mysql's LEFT(). Typically LEFT() functions take another argument: how many characters to extract from the left side.
However the " leads me to belive that there is a double quote in $var. Try printing $query to see what's in it. If that's the case, do something like this before the my $query... thing.
In Section
Seekers of Perl Wisdom
|
|