With changes in CPAN purl type definition https://github.com/package-url/purl-spec/pull/420 We need to change the way how we validate a CPAN PURL