On Tue, 23 Apr 2002, Ron wrote:

> I have been using the below subroutine for Parsing my data from forms.  The
> question I have; can someone explain this line to me,
> $value =~ tr/+/ /;
> 
> The tr has me a bit confused.

tr is "transliterate", so it translates the first argument (+, in this case) to 
the second argument (space in this case).  So, "+++" becomes "   ".

Hope it helps,

Michael

-- 

Absolute power corrupts absolutely,
which is a problem...
If you're powerless.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to