tr///
has nothing to do with regular expressions. tr///
is documented in perlop.
my $x = "aabbccddee!";
$x =~ tr/abc/xyz/;
say $x; # xxyyzzddee
2
solved Perl tr usage of regexp [closed]
tr///
has nothing to do with regular expressions. tr///
is documented in perlop.
my $x = "aabbccddee!";
$x =~ tr/abc/xyz/;
say $x; # xxyyzzddee
2
solved Perl tr usage of regexp [closed]