in reply to Which is the efficient pattern matching modifiers (s///g; or s///gs;)?

and you can easily determine for youself which of several methods is faster by using the Benchmark module
  • Comment on Re: Which is the efficient pattern matching modifiers (s///g; or s///gs;)?