>>>>> "SHC" == Shawn H Corey <shawnhco...@gmail.com> writes:

  SHC> echo "abcxyz" | perl -ple '$_ =~ tr/abz/N/c'

you don't need the $_ there as tr/// will default to using it.

uri


-- 
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