Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Replacing single quotes to two single quotes inside map

by duff (Parson)
on Nov 10, 2017 at 21:22 UTC ( [id://1203140]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $sql = exec_select( "call store_proc(" . join(',', ('?') x @allparm
    +s ) . ")",
                            map { $data->{$_} =~ s/'/''/g; $data->{ $_ } |
    +| '' } @allparms
                       );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found