Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 meditating upon the Monastery: (11)
As of 2014-12-22 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (113 votes), past polls