Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Replacing single quotes to two single quotes inside map

by tybalt89 (Monsignor)
on Nov 10, 2017 at 21:28 UTC ( [id://1203144]=note: print w/replies, xml ) Need Help??


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->{ $_ }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1203144]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-24 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found