Parrot::Configure::Messages - Introduce and conclude Parrot configuration process
use Parrot::Configure::Messages qw( print_introduction print_conclusion ); print_introduction($parrot_version); $rv = print_conclusion( $conf, $make, $args );
Parrot::Configure::Messages exports on demand two subroutines which print messages to STDOUT when Configure.pl is run.
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()).
Parrot::BuildUtil::parrot_version()
Return Value
Implicit true value when print returns successfully.
print
Comment
print_conclusion()
Prints a message announcing the conclusion of the Parrot configuration process and instructing the user to run make.
$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().
Parrot::Configure::Options::process_options()
Returns true value when configuration is successful and message has been printed. Otherwise return value is undefined.
The functionality in this package was transferred from Configure.pl by Jim Keenan.
Configure.pl.
To install Rakudo::Star, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rakudo::Star
CPAN shell
perl -MCPAN -e shell install Rakudo::Star
For more information on module installation, please visit the detailed CPAN module installation guide.