...and in the following line you escaped your dot unnecessarily:
my $str = '1.2.3.4.5'; $str =~ tr/./_/; # No need to escape '.' print $str;
In reply to Re: AWTDI: Renaming files using regexp
by Not_a_Number
in thread AWTDI: Renaming files using regexp
by nimdokk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |