NAME
Parrot::Configure::Messages - Introduce and conclude Parrot configuration process
SYNOPSIS
use Parrot::Configure::Messages qw(
print_introduction
print_conclusion
);
print_introduction($parrot_version);
$rv = print_conclusion( $conf, $make, $args );
DESCRIPTION
Parrot::Configure::Messages exports on demand two subroutines which print messages to STDOUT when Configure.pl is run.
SUBROUTINES
print_introduction()
Purpose
Print the Parrot version, the version of Configure.pl, the copyright notice and a message introducing the Parrot configuration process.
Arguments
One argument: String holding the Parrot version number (currently supplied by
Parrot::BuildUtil::parrot_version()
).Return Value
Implicit true value when
print
returns successfully.Comment
print_conclusion()
Purpose
Prints a message announcing the conclusion of the Parrot configuration process and instructing the user to run make.
Arguments
$rv = print_conclusion( $conf, $make, $args );
List of three arguments: the Parrot::Configure object; the string holding the version of make located by the configuration process; and the hash reference which is the first element in the list returned by
Parrot::Configure::Options::process_options()
.Return Value
Returns true value when configuration is successful and message has been printed. Otherwise return value is undefined.
NOTES
The functionality in this package was transferred from Configure.pl by Jim Keenan.
SEE ALSO
Configure.pl.