Subject: | Allow options after arguments |
As discussed in <https://bugs.debian.org/885103> there is a case to be made for allowing options to follow arguments in this command, since a similar script (which was distributed as part of perl in Debian for a long time) did. Some people have found the change in behaviour to be harmful.
Being more liberal in this case seems like the correct thing to do. Simple patch attached.
Thanks for considering.
Dominic.
Subject: | rename-options-args.patch |
diff --git a/lib/File/Rename.pm b/lib/File/Rename.pm
index 757355f..f775735 100644
--- a/lib/File/Rename.pm
+++ b/lib/File/Rename.pm
@@ -10,6 +10,7 @@ use Getopt::Long ();
eval{ Getopt::Long::Configure qw(
posix_default
no_ignore_case
+ no_require_order
); 1 } or warn $@;
sub GetOptions {