NAME
App::GHGen::PerlCustomizer - Customize Perl workflows based on project requirements
SYNOPSIS
use App::GHGen::PerlCustomizer qw(detect_perl_requirements);
my $requirements = detect_perl_requirements();
# Returns: { min_version => '5.036', has_cpanfile => 1, ... }
FUNCTIONS
detect_perl_requirements()
Detect Perl version requirements from cpanfile, Makefile.PL, or dist.ini.
generate_custom_perl_workflow($options)
Generate a customized Perl workflow based on options hash.
Options: - perl_versions: Array ref of explicit Perl versions (e.g., ['5.40', '5.38']) - min_perl_version: Minimum Perl version (e.g., '5.036') - max_perl_version: Maximum Perl version to test (e.g., '5.40') - os: Array ref of operating systems ['ubuntu', 'macos', 'windows'] - enable_critic: Boolean - enable_coverage: Boolean
If perl_versions is provided, it takes precedence over min/max versions.
AUTHOR
Nigel Horne <njh@nigelhorne.com>
LICENSE
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.