use 5.005; use ExtUtils::MakeMaker; print STDERR "Checking for Tk..."; eval { require Tk; }; if ($@) { print STDERR " failed\n", < 'Tk::Getopt', 'VERSION_FROM' => 'Getopt.pm', # finds $VERSION # no PREREQ, because everything is in fact optional... 'PREREQ_PM' => {}, 'LICENSE' => 'perl', ($] >= 5.005 ? ## Add these new keywords supported since 5.005 ('ABSTRACT_FROM' => 'Getopt.pm', 'AUTHOR' => 'Slaven Rezic ', 'LICENSE' => 'perl', ) : () ), # Test::More is really a build_recomments, but this is not available # in META.yml 'EXTRA_META' => <