Hello, I have a short question about the "tr" command. Is it impossible to use variables in the tr command, in this way? : $str = "aiueokakikukeko"; $to_find = "aiueo"; $replace_with = "hijkl"; $str =~ tr/$to_find/$replace_with/; print $str, "\n"; Thank you in advance for any comments! Best regards, Nobumi Iyanaga Tokyo, Japan
- Re: [MacPerl] tr question Nobumi Iyanaga
- Re: [MacPerl] tr question Bart Lateur
- Re: [MacPerl] tr question John Gruber
- Re: [MacPerl] tr question Nobumi Iyanaga