MooX-Press

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

                                          url  => "git://github.com/tobyink/p5-moox-press.git",
                                          web  => "https://github.com/tobyink/p5-moox-press",
                                        },
                        x_identifier => "http://purl.org/NET/cpan-uri/dist/MooX-Press/project",
                      },
  "version"        => 0.086,
};

my %dynamic_config;
do {
if ( $] lt '5.010' ) {
	$meta->{prereqs}{runtime}{requires}{'UNIVERSAL::DOES'} = '0.001';
}

if ( eval { require Moose } ) {
	$meta->{prereqs}{runtime}{requires}{'MooseX::NonMoose'} = '0';
}

if ( eval { require Mouse } ) {
	$meta->{prereqs}{runtime}{requires}{'MouseX::NonMoose'} = '0';
}

lib/MooX/Press.pm  view on Meta::CPAN

use Types::TypeTiny qw(ArrayLike HashLike);
use Type::Registry ();
use Exporter::Tiny qw(mkopt);
use Import::Into;
use match::simple qw(match);
use Module::Runtime qw(use_module);
use namespace::autoclean;

sub make_absolute_package_name {
	my $p = shift;
	$] lt '5.018' ? "main::$p" : "::$p";
}

if ( $] lt '5.010' ) {
	require UNIVERSAL::DOES;
}

# Options not to carry up into subclasses;
# mostly because subclasses inherit behaviour anyway.
my @delete_keys = qw(
	subclass
	has
	with
	extends



( run in 0.669 second using v1.01-cache-2.11-cpan-cc502c75498 )