in reply to 'reflection', aka traversing symbol tables
You said you're looking for values of $CVS_REVISION, but your code looks for values of $CVS_VERSION.