MySQL Forums
Forum List  »  Perl

Re: How to use variables (in insert string)
Posted by: David Shrewsbury
Date: June 28, 2007 04:43PM

Perl will not interpret variables when they are enclosed within single quotes. You should change this line:
my $sql='CALL insert_name($name)';
to this:
my $sql="CALL insert_name($name)";
-Dave

Options: ReplyQuote


Subject
Written By
Posted
Re: How to use variables (in insert string)
June 28, 2007 04:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.