Keep It Simple, Stupid | |
PerlMonks |
Re: Changing filename extensionsby jwkrahn (Abbot) |
on Nov 16, 2021 at 03:44 UTC ( [id://11138862]=note: print w/replies, xml ) | Need Help?? |
$dir is not the current directory so you are renaming nonexistant files in the current directory. Either change the current directory to where the files are or include $dir as part of the path when renaming.
In Section
Seekers of Perl Wisdom
|
|