Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Replacing single quotes to two single quotes inside map

by duff (Parson)
on Nov 10, 2017 at 21:22 UTC ( #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? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2022-10-01 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (3 votes). Check out past polls.

    Notices?