On Nov 30, 2007 7:33 PM, Joel Rees <[EMAIL PROTECTED]> wrote: > This is probably the wrong list for this question, but is anyone > willing to give me a clue why > > $line =~ tr/+/ /; > > would clip out the lead bytes of a shift-JIS string in a cgi script? snip
The only thing that should do is replace occurrences of '+' with ' ' in $line. You can read more about the tr/// operator in perldoc perlop.