Skip to content

Instantly share code, notes, and snippets.

@jjn1056
Created August 11, 2010 19:20
Show Gist options
  • Select an option

  • Save jjn1056/519564 to your computer and use it in GitHub Desktop.

Select an option

Save jjn1056/519564 to your computer and use it in GitHub Desktop.
# building the dist for real
my $ok = eval {
my $wd = File::pushd::pushd($target);
$builders[0]->build;
my $extralibs =
join $Config::Config{path_sep},
map { $abstarget->subdir('blib', $_) } qw{ arch lib };
local $ENV{PERL5LIB} = $extralibs .$Config::Config{path_sep}. $ENV{PERL5LIB};
system(@$cmd) and die "error while running: @$cmd";
1;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment