Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
use strict; use warnings;
package Module::Build::InlineModule;
our $VERSION = '0.04';
use base 'Module::Build';
use Inline::Module();
sub ACTION_code {
my $self = shift;
my $meta = $self->get_meta;
my @inc = @INC;
local @INC = (
(-e 'inc' ? ('inc') : ()),
for my $module (@{$meta->{module}}) {
eval "require $module; 1" or die $@;
sub ACTION_distdir {
my $self = shift;
my $distdir = $self->dist_dir;
my $meta = $self->get_meta;
my $stub_modules = $meta->{stub};
my $included_modules = Inline::Module->included_modules($meta);
my $files_added = Inline::Module->add_to_distdir(
# XXX ask leont:
# $self->_add_to_manifest($_)
# for @$files_added;
sub get_meta {
my $self = shift;
my $meta = $self->{properties}{inline}
or die "Missing Module::Build property: 'inline'";
$meta->{module} or die
"Module::Build::InlineModule property 'inline' missing key 'module'";
return $meta;