in reply to Seeking your opinions on proposed patch to File::Util
First pass opinion: When you have both --file-pattern and --dir-pattern, --pattern is redundant.
So, make --pattern & ( --file-pattern &| --dir-pattern ) mutually exclusive.
Existing code using --pattern continues to work as is.
New code can choose to stick with the old -- subject to the caveat of the known bug -- or switch to using the new mechanism.
Existing code continues to work; new code can choose to works better.
Potentially; pre-deprecate --pattern. That is, warn that it will(may) go away at some point in the future.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Seeking your opinions on proposed patch to File::Util
by martell (Hermit) on Sep 30, 2012 at 08:39 UTC | |
by Tommy (Chaplain) on Sep 30, 2012 at 19:44 UTC | |
by martell (Hermit) on Oct 01, 2012 at 19:47 UTC | |
by Tommy (Chaplain) on Oct 02, 2012 at 20:35 UTC | |
|
Re^2: Seeking your opinions on proposed patch to File::Util
by Tommy (Chaplain) on Sep 30, 2012 at 00:39 UTC |