in reply to Re^3: Shortcutting grep in boolean context
in thread Shortcutting grep in boolean context

The sub version has a higher overhead than the do version, but the speed won't matter unless we do hundreds of thousands of calls per second or more.
  • Comment on Re^4: Shortcutting grep in boolean context