Fix issue #232:  fix automated version check

Modified to match recent changes to docs/download.pod
Modified to make revision optional. (i.e. 3.0 R1). If revision
is not present then don't print "revision unknown".
Updated syntax to eliminate perl warnings