Acme-MITHALDU-XSGrabBag

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

# Dist::Zilla::Plugin::InlineModule 0.07
# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.38.
# Don't edit it but the dist.ini and plugins used to construct it.

use strict;
use warnings;

use 5.006;
use ExtUtils::MakeMaker;

use lib 'inc';
use Inline::Module;

my %WriteMakefileArgs = (
  "ABSTRACT" => "a bunch of XS math functions i'm not sure where to shove yet",
  "AUTHOR" => "Christian Walde <walde.christian\@gmail.com>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "Acme-MITHALDU-XSGrabBag",
  "LICENSE" => "unrestricted",

inc/Inline/Module.pm  view on Meta::CPAN


sub check_inc_inc {
    my ($class, $program) = @_;
    my $first = $INC[0] or die;
    if ($first !~ /^(\.[\/\\])?inc[\/\\]?$/) {
        die <<"...";
First element of \@INC should be 'inc'.
It's '$first'.
Add this line to the top of your '$program':

    use lib 'inc';

...
    }
}

sub importer {
    my ($class, $stub_module) = @_;
    return sub {
        my ($class, $lang) = @_;
        return unless defined $lang;



( run in 0.228 second using v1.01-cache-2.11-cpan-87723dcf8b7 )