in reply to Re^4: Automatically add all defined functions to your @EXPORT
in thread Automatically add all defined functions to your @EXPORT

Because it's apples and oranges. doSomething() and doSomethingElse() aren't related via a pipeline, which the conditionals in grep are. So, by placing unrelated conditionals in their own greps, I give myself the opportunity to throw a map in there, if I feel like it. Putting them in the same grep removes that possibility.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re^5: Automatically add all defined functions to your @EXPORT