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->{ $_ }
In reply to Re: Replacing single quotes to two single quotes inside map
by tybalt89
in thread Replacing single quotes to two single quotes inside map
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |