Macro-Simple

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
                                          url  => "git://github.com/tobyink/p5-macro-simple.git",
                                          web  => "https://github.com/tobyink/p5-macro-simple",
                                        },
                        x_identifier => "http://purl.org/NET/cpan-uri/dist/Macro-Simple/project",
                      },
  "version"        => 0.003,
};
 
my %dynamic_config;
do {
        if ( $] ge 5.014000 ) {
                $meta->{prereqs}{runtime}{requires}{'Parse::Keyword'} = '0.09';
                $meta->{prereqs}{runtime}{requires}{'PPI'} = '1.270';
                $meta->{prereqs}{runtime}{requires}{'Sub::Boolean'} = '1.000000';
        }
 
};
 
my %WriteMakefileArgs = (
        ABSTRACT   => $meta->{abstract},
        AUTHOR     => ($EUMM >= 6.5702 ? $meta->{author} : $meta->{author}[0]),

lib/Macro/Simple.pm  view on Meta::CPAN

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
package Macro::Simple;
 
our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION   = '0.003';
 
use Carp;
 
use constant DO_MACRO => (
        $] ge 5.014000 and
        require Parse::Keyword and
        require PPI and
        require Sub::Boolean
);
 
use constant DO_CLEAN => eval { require namespace::clean };
 
sub import {
        my ( $class, $macros ) = ( shift, @_ );
        my $caller = caller;



( run in 0.308 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )