parrotcode: Configuration Step Utilities | |
Contents | Perl Modules |
Parrot::Configure::Step - Configuration Step Utilities
The Parrot::Configure::Step
module contains utility functions for steps to use.
Note that the actual configuration step itself is NOT an instance of this class,
rather it is defined to be in the package
Configure::Step
.
See docs/configuration.pod for more information on how to create new configuration steps.
integrate($orig, $new)
$new
into $orig
.prompt($message, $value)
ENTER
.file_checksum($filename, $ignorePattern)
$ignorePattern
are not included in the checksum.copy_if_diff($from, $to, $ignorePattern)
$from
to the location specified by $to
if it's contents have changed.$ignorePattern
is passed to file_checksum()
when comparing the files.move_if_diff($from, $to, $ignorePattern)
$from
to the location specified by $to
if it's contents have changed.genfile($source, $target, %options)
/\$\{\w+\}/
for the given key's value in the configuration system's data,
and writes the results to specified target file._run_command($command, $out, $err)
$out
,
warnings and errors are directed to the file specified by $err
.cc_gen($source)
cc_build($cc_args)
$cc, $ccflags, $ldout, $o, $link, $linkflags, $cc_exe_out, $exe, $libs
cc_run()
cc_run_capture()
cc_run()
except that warnings and errors are also directed to test.out.cc_clean()
|