Macro-Simple

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

                                          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

use warnings;

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.725 second using v1.01-cache-2.11-cpan-cc502c75498 )