Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: tr///c doesn't seem to work as I expect

by james2vegas (Chaplain)
on Sep 04, 2009 at 20:42 UTC ( [id://793592]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     The character "-" is treated specially and therefore "\-" is treated 
    +as a literal "-".
    
  2. or download this
    if($data !~ /^[\ \-\~\007\012\015\035\036\037]*$/) {
        $data =~ tr/[\ \-\~\007\012\015\035\036\037]/ /cs;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-23 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found