Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: next question...

by archen (Pilgrim)
on Dec 22, 2001 at 04:51 UTC ( #133923=note: print w/ replies, xml ) Need Help??

in reply to next question...
in thread Removing commas and dollar signs from a variable.

tr/// is for characters, s/// is for strings. tr is generally a better choice where it works because it's more efficent. s/// can do everything tr can because it can work with strings of length 1 (ie - one character), it's just slightly slower. I guess it's more about taste and speed than anything else

Comment on Re: next question...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2015-12-01 20:54 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (27 votes), past polls