... my $file=~s/^([^_]+_)(.*)(\.\w{3})\z/$1.md5_hex($2).$3/eg; ... [download]
In reply to Re^2: Renaming an image file by Anonymous Monk in thread Renaming an image file by Anonymous Monk