PR/304: Use a regex because people install perl in non-standard places