Hello,
I recently attempted to create an automated installation script using
the methods from Module::Build. Specifically, this was the perl code
which I used:
my $build = Module::Build->new(
module_name =>
$mod_name,
license
=> 'perl',
use_rcfile
=> 1,
);
$build->create_build_script;
$build->dispatch('build');
$build->dispatch('test', verbose => 1);
$build->dispatch('install');
Unfortunately, this code tries to install the module to the root
directory, for which I have no file permissions. I want the module to
install to a "~/lib/" subfolder of my home directory. I have the
following .modulebuildrc file set up to do this:
install --install_base /Users/smanzer/
This installation method works if I run the scripts from the shell:
perl Build.PL
./Build
./Build test
./Build install
Is there a way to do get these built in methods to read
my .modulebuildrc and act accordingly?
I really appreciate your help.
Sincerely,
Samuel F. Manzer
P.S. I am running perl version 5.8.8 on Mac OS X v. 10.5.7