my $newfile = $prefix . $suffix; $newfile =~ s/_$//; rename "$dir/$file", "$dir/$newfile";
In reply to Re^5: How to remove underscore at the end of the line?
by Anonymous Monk
in thread How to remove underscore at the end of the line?
by finddata
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |