Inbedded SQL in a Perl script issue with wildcard % -


the below extract taken perl script failing because need escape % symbol in not 'ie%'. know how can easily?

my @odests = keys %$d;  foreach $ndestid (@odests) {     $sres .= sprintf "\nselect * symbol_destinations dest_id = %d , symbol in (select sedol symbols currency = 'gbx' , isin not 'ie%')"; } # each dest 

in printf/sprintf, can use %% insert literal percent sign.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -