I'm afraid I don't know of an 'elegant' solution. This is just one of those situations where perlcritic is more hinderance than helpful. I like Scott's suggestion better than the one in our perldoc, so I'd go with that [does perl warn about "$" inside of a qw() ?]. Yes, RequireRcsKeywords only looks for the keywords inside comments. IMHO, adding another $Revision$ inside a comment isn't the worst thing in the world, especially since SVN/CVS do all the work of updating them. And you probably still want to have $Author$, $Source$, and other keywords somewhere too. So adding another $Revision$ doesn't seem so bad.
I'll look to see if we can make either of those policies a little smarter. But for now, all I can give you is a rationalization rather than a solution. Sorry :(
BTW: The best way to get answers to perlcritic questions is to send mail to dev@perlcritic.tigris.org. The team is always happy to help.
Cheers!
-Jeff
(10)
]
