Path: utzoo!censor!geac!torsqnt!hybrid!scifi!bywater!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.lang.perl Subject: $var =~ tr/pattern//d Message-ID: <119608@uunet.UU.NET> Date: 23 Jan 91 07:38:39 GMT Organization: UUNET Communications Services, Falls Church, VA Lines: 19 I cannot get 3.044 on a Sequent Symmetry to do translations on variables. I'm trying something like: $var = 'qwertyuiop'; $var =~ tr/m-t//d; When I do this, $var is unchanged, not 'weyui'. If I instead do: $_ = 'qwertyuiop'; tr/m-t//d; Then $_ is as expected, 'weyui'. Oh yes, 3.041 on a Sparc SunOS 4.1.1 behaves identically. Am I misreading the manual or is something broke? -- Root Boy Jim Cottrell Close the gap of the dark year in between