Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Welcome to the Monastery
 
PerlMonks  

Re: Escape from backslash hell

by patgas (Friar)
on Nov 30, 2001 at 19:38 UTC ( [id://128731]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Escape from backslash hell

Hmm, I'm not sure... I can't reproduce your problem...

$_ = '11/29/2001'; # First I tried this... # s,/,\\/,g; s{/}{\\/}g; print;

On my system, at least, both substitutions print 11\/29\/2001.

"We're experiencing some Godzilla-related turbulence..."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://128731]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.