Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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: (7)
As of 2015-07-04 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls