in reply to Replacing single quotes to two single quotes inside map
my @allparms = qw( letters loc type name zip); my $sql = exec_select( "call store_proc(" . join(',', ('?') x @allparm +s ) . ")", map { $data->{ $_ } =~ s/'/''/gr || '' } @allp +arms );
doesn't change $data->{ $_ }
|
|---|