Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Replace the double quote escape sequence as unescape sequence

by tobyink (Abbot)
on Feb 07, 2013 at 12:29 UTC ( #1017639=note: print w/ replies, xml ) Need Help??


in reply to Replace the double quote escape sequence as unescape sequence

$cmd = 'AT +CGDCONT= 1,"IP","","",1,1'; # A regular expression only... $cmd =~ /(?{s{"}{\\"}g;print"'$_'\n"})/;
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name


Comment on Re: Replace the double quote escape sequence as unescape sequence
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (17)
As of 2014-07-31 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls