in reply to Meaning of command
The transliteration operator; tr/// is discussed in perlop, as is the binding operator (=~).
The code you posted will remove all newlines from the string contained in $A.
Dave