Assuming you don't mind changing $data->{$_} directly (rather than making a copy) ...
my $sql = exec_select( "call store_proc(" . join(',', ('?') x @allparm +s ) . ")", map { $data->{$_} =~ s/'/''/g; $data->{ $_ } | +| '' } @allparms );
In reply to Re: Replacing single quotes to two single quotes inside map
by duff
in thread Replacing single quotes to two single quotes inside map
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |