Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Problem in sustitution of a string

by dynamo (Chaplain)
on Aug 14, 2007 at 06:38 UTC ( [id://632402]=note: print w/replies, xml ) Need Help??


in reply to Problem in sustitution of a string

Your only real issue was that you have to backslash (verb) the slash (noun) and the backslash (noun) in that expression. Also, you weren't using $b, so I'd drop it:
$a = "/morse_value"; $a =~ s/\//\\/g; print "$a\n";
Good luck.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found