NAME
Parrot::Install - Functionality for installation programs
SYNOPSIS
use Parrot::Install qw(
install_files
create_directories
lines_to_files
);
DESCRIPTION
This module exports on demand only three subroutines used in the Parrot installation programs tools/dev/install_files.pl and tools/dev/install_dev_files.pl. The subroutines are tested by tests found in t/tools/install/.
SUBROUTINES
lines_to_files()
Purpose: Suck in the lines from the mentioned manifests, and turn them into file locations.
Arguments: List of five scalars.
($files, $directories) =
lines_to_files(
\%metatransforms,
\@transformorder,
\@manifests,
\%options,
$parrotdir,
);
Return Value: List of three scalars.
Comment:
create_directories()
Purpose: Creates the directories passed in.
Arguments: Two scalar arguments.
create_directories(
$destination_directory,
$directories_hash_ref,
);
Return Value: True value.
Comment:
install_files()
Purpose: Install the mentioned files into the appropriate locations.
install_files(
$destination_directory,
$dry_run_option,
$list_of_files_and_executables,
);
Arguments: Takes two scalar arguments, followed by a reference to a list consisting of hashes.
Return Value: True value.
Comment: