Fix perl version detection and enable mysql open_file_limit check on 11.44 again

Existing perl version detection method breaks on perl 5.12+ due to format change of 'perl -v' output.  Switch to using internal variable $^V for the version string.