Subject: | Handling of a '?'-containing argument in function execute |
What:
Show quoted text
> If one of the parameters passed to the execute function happens to be '?',
> then the subsequent run through the loop will incorrectly substitute this
> with the next parameter.
>
> Example:
> my $add = $dbh->prepare( "insert into info (grp, name, www, id) values
> (?,?,?,?)");
> $add->execute(''GroupA","?",''none", 1) ;
>
> Where: function execute
> In line 362 ($statement =~ s/\?/$quoted_param/e;)
>