c has asked for the wisdom of the Perl Monks concerning the following question:
@array = glob(*.old); while(<@array>) { $newext = $_; $newext =~ s/old/new/; rename($_, $newext); }
I think I have this pretty short, however, I've learned that often there are shorter and easier ways to do something. If anyone can point out a shorter path to the goal I seek, it would be appreciated.
humbly -c
Back to
Seekers of Perl Wisdom