Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017639]
help
Chatterbox?
[Discipulus]: Eily adjust the shot: i'll be at seaside when it will happen
[Eily]: oh, I'll have to find something else then, don't want to litter the sea. Fireworks maybe?
Eily time to eat
[Discipulus]: good la?unch

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-07-27 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (409 votes). Check out past polls.