Thank you, John and Uri.

I got a hint to use -e "binmode ARGVOUT" and it did the trick for me!

JWK> BTW your substitution operator replaces only the first 'A' it
finds
JWK> with 'B'.  If you want to replace all 'A's with 'B's then you
have to
JWK> use the /g option on the substitution: s/A/B/g.  And it you are
only
JWK> really replacing one character with another then you should
probably
JWK> use transliteration instead: tr/A/B/.
Thanks, but A and B were only placeholders here. Nevertheless, your
remark for /g was very welcome ;-)

Thomas


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to