NAME
Perl::Critic::BuildUtilities - Common bits of compiling Perl::Critic.
DESCRIPTION
Various utilities used in assembling Perl::Critic, primary for use by *.PL programs that generate code.
IMPORTABLE SUBROUTINES
get_PL_files()
-
Returns a reference to a hash with a mapping from the name of a .PL program to an array of the parameters to be passed to it, suited for use by "PL_files" in Module::Build::API or "PL_FILES" in ExtUtils::MakeMaker. May print to
STDOUT
messages about what it is doing. dump_unlisted_or_optional_module_versions()
-
Prints to
STDOUT
a list of all the unlisted (e.g. things in core like Exporter), optional (e.g. File::Which), or potentially indirect (e.g. Readonly::XS) dependencies, plus their versions, if they're installed. emit_tar_warning_if_necessary()
-
On some Solaris systems,
tar(1)
can't deal with long file names and thus files are not correctly extracted from the tarball. So this prints a warning if the current system is Solaris.
AUTHOR
Elliot Shank <perl@galumph.com>
LICENCE AND COPYRIGHT
Copyright (c) 2007-2023, Elliot Shank.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.