You can see that the entire sql string is quoted, where what you want from the elog is just single quotes around the value (i.e. 'stan’) The example I saw for qq on the perl site doesn’t have any quotes in arg to qq Try making the sql string without using qq my $select = “select....’” + $user + “‘;”; (or perhaps perl has a formatted string function like printf)
|