in reply to Re^2: looking for a good idiom: return this if this is true
in thread looking for a good idiom: return this if this is true

I concur.

And I've previously found when I was doing a micro-optimisation effort somewhere, that $_ is also relatively slow to assign and then read from, compared to the temporary variable.
  • Comment on Re^3: looking for a good idiom: return this if this is true