Exporter-Almighty
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
web => "https://github.com/tobyink/p5-exporter-almighty",
},
x_identifier => "http://purl.org/NET/cpan-uri/dist/Exporter-Almighty/project",
},
"version" => 0.001005,
};
my %dynamic_config;
do {
if ( $] lt 5.037002 ) {
$meta->{prereqs}{runtime}{requires}{'Lexical::Var'} = '0.010';
}
if ( $] lt 5.036000 ) {
$meta->{prereqs}{runtime}{requires}{'builtins::compat'} = '0';
}
};
my %WriteMakefileArgs = (
ABSTRACT => $meta->{abstract},
AUTHOR => ($EUMM >= 6.5702 ? $meta->{author} : $meta->{author}[0]),
DISTNAME => $meta->{name},
VERSION => $meta->{version},
lib/Exporter/Almighty.pm view on Meta::CPAN
package Exporter::Almighty;
our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.001005';
use parent qw( Exporter::Tiny );
my @builtins;
BEGIN { @builtins = qw( is_bool created_as_string created_as_number ) };
use if $] lt '5.036000', 'builtins::compat' => @builtins;
use if $] ge '5.036000', 'builtin' => @builtins;
no if $] ge '5.036000', 'warnings' => qw( experimental::builtin );
use B qw( perlstring );
use Carp qw( croak );
use Eval::TypeTiny qw( eval_closure set_subname );
use Exporter::Tiny qw( mkopt );
use Import::Into;
use Module::Runtime qw( require_module module_notional_filename );
use Type::Registry qw();
use Types::Common qw(
-sigs
t/unit/Exporter/Almighty.t view on Meta::CPAN
the same terms as the Perl 5 programming language system itself.
=cut
use Test2::V0 -target => 'Exporter::Almighty';
use Test2::Tools::Spec;
use Data::Dumper;
my @builtins;
BEGIN { @builtins = qw( is_bool created_as_string created_as_number ) };
use if $] lt '5.036000', 'builtins::compat' => @builtins;
use if $] ge '5.036000', 'builtin' => @builtins;
no if $] ge '5.036000', 'warnings' => qw( experimental::builtin );
use FindBin qw( $Bin );
use lib "$Bin/../../lib";
describe "class `$CLASS`" => sub {
tests 'it is an Exporter::Tiny' => sub {
isa_ok( $CLASS, 'Exporter::Tiny' );
};
};
( run in 0.920 second using v1.01-cache-2.11-cpan-cc502c75498 )