We are using perltidy, and a number of other code quality mechanisms, but these particular cases aren't being handled. We've tweaked perltidy et al ad naseum, but it isn't covering these cases. This is more of a question on how to handle the social dilemmas in the edge cases, apologies if I wasn't more specific in my original post.