File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ our @EXPORT_OK = qw($VERSION &neatvalue &mkbootstrap &mksymlists
3939 &WriteEmptyMakefile &open_for_writing &write_file_via_tmp
4040 &_sprintf562) ;
4141
42+ my @PREREQ_KEYS = qw( PREREQ_PM BUILD_REQUIRES CONFIGURE_REQUIRES TEST_REQUIRES) ;
43+
4244# These will go away once the last of the Win32 & VMS specific code is
4345# purged.
4446my $Is_VMS = $^O eq ' VMS' ;
@@ -444,7 +446,7 @@ sub new {
444446
445447 # Cleanup all the module requirement bits
446448 my %key2cmr ;
447- for my $key (qw( PREREQ_PM BUILD_REQUIRES CONFIGURE_REQUIRES TEST_REQUIRES ) ) {
449+ for my $key (@PREREQ_KEYS ) {
448450 $self -> {$key } ||= {};
449451 if (_has_cpan_meta_requirements) {
450452 my $cmr = CPAN::Meta::Requirements-> from_string_hash(
You can’t perform that action at this time.
0 commit comments