in reply to Re^2: Replacing single quotes to two single quotes inside map
in thread Replacing single quotes to two single quotes inside map
How could a prevent this warning and why is it happening ?my @allparms = qw( letters loc type name zip); my $sql = exec_select( "call store_proc(" . join(',', ('?') x @allparm +s ) . ")", map { (my $dx = $data->{ $_ }) =~ s/’/'/g || '' ; $dx; } @ +allparms );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Replacing single quotes to two single quotes inside map
by choroba (Cardinal) on Nov 14, 2017 at 17:01 UTC | |
by Anonymous Monk on Nov 14, 2017 at 19:47 UTC |