Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Escaping multiple escape chars

by ikegami (Patriarch)
on Dec 09, 2005 at 20:54 UTC ( [id://515649]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $txt = ' __\\U//__ ';
    print("$txt\n");       # Prints __\U//__
    ...
    
    $txt =~s/\\/\\\\/g;
    print("$txt\n");       # Prints __\\\\U//__
    
  2. or download this
    $txt = <DATA>;
    print("$txt\n");       # Prints __\\U//__
    ...
    
    __DATA__
    __\\U//__
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found