## Get MetaCPAN to reference GitHub for Source and Issue Tracking

In Makefile.PL add the eval code

TEST_REQUIRES => {
'Test::More' => '0',
},
(eval { ExtUtils::MakeMaker->VERSION(6.46)} ? (META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/Bas-Man/File-TVShow-Info.git',
web => 'https://github.com/Bas-Man/File-TVShow-Info',
},
bugtracker => {
web => 'https://github.com/Bas-Man/File-TVShow-Info/issues',
},
homepage => 'https://bas-man.github.io',
},
})
: ()
),


## Prevent CPAN-Testers from testing under certain OS

Add the following code to the BEGIN block in 00-load.t testing file.

BEGIN {
if (\$^O eq 'MSWin32') {
BAIL_OUT("OS unsupported");
};
use_ok( 'File::TVShow::Organize' ) || print "Bail out!\n";
}


## Detect the OS Perl Code is Running Under

I was looking into updating a couple of my perl modules because rt.cpan.org is being sunset early in 2021. As part of this I thought it was time to stop cpan testers from testing my module under Windows since it is currently not really supported.

I was not sure how to go about doing this, so I reached out the good people in the “Perl Programmers” group on FaceBook. I got some great links and suggestions. In order to make this easy for me to find. I am documenting some of them here.