Is there a better way to use tr/// on each element in an array than the following:
foreach (@list) {
tr/abc/xyz/;
}
I'm playing around with some stuff and I just can't get it out of my head that it doesn't look quite right/optimal. Maybe I'm just thinking of how conditionals can be used in a suffix form. Anyone know if there's a way to use the suffix form for tr/// or s///?