Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Question about use of tr/ / / and s/ / /g

by mincus (Chaplain)
on May 06, 2001 at 19:20 UTC ( [id://78356]=note: print w/replies, xml ) Need Help??


in reply to Question about use of tr/ / / and s/ / /g

tr/// does transliteration... it maps characters to other characters.

s/// will take a pattern and replace the pattern...

This will explain it in much more detail...

Best of luck!

UPDATE:
Listen to jeffa, he makes much more sence than I... but the best way to understand the difference is still Here


.mincus
telnet://bbs.mincus.com

  • Comment on Re: Question about use of tr/ / / and s/ / /g

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found