The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

use 5.006;
use ExtUtils::MakeMaker;

my $EUMM_VERSION = eval $ExtUtils::MakeMaker::VERSION;

WriteMakefile(
    NAME              => 'Carp::Always',
    VERSION_FROM      => 'lib/Carp/Always.pm',
    PREREQ_PM         => {
        Carp       => 0,
        Test::More => 0,
    },
    ($] >= 5.005 ? (
        ABSTRACT_FROM => 'lib/Carp/Always.pm',
        AUTHOR        => 'Adriano R. Ferreira <ferreira@cpan.org>'
    ) : ()),
    ($EUMM_VERSION >= 6.31 ? (
        LICENSE => 'perl', 
    ) : ()),
    ($EUMM_VERSION > 6.4501 ? (
        META_MERGE => {
            recommends => {
                # optional tests
                'Test::Pod'        => 0,
                'Test::Pod::Coverage' => 0,
                'Test::Base'          => 0,
            },
            resources => {
                repository => 'http://github.com/aferreira/cpan-Carp-Always',
            }
        },
    ) :())

);