my %distToModules = (
'IO-Compress' => [
{
- 'name' => 'IO-Compress',
+ 'name' => 'IO-Compress',
'modification' => $getModifyType->( $changes{'IO::Compress::Base'} ),
- 'data' => $changes{'IO::Compress::Base'}
+ 'data' => $changes{'IO::Compress::Base'}
+ }
+ ],
+ 'libnet' => [
+ {
+ 'name' => 'libnet',
+ 'modification' => $getModifyType->( $changes{'Net::Cmd'} ),
+ 'data' => $changes{'Net::Cmd'}
}
],
'Locale-Codes' => [
'data' => $changes{'Cwd'}
}
],
+ 'podlators' => [
+ {
+ 'name' => 'podlators',
+ 'modification' => $getModifyType->( $changes{'Pod::Text'} ),
+ 'data' => $changes{'Pod::Text'}
+ }
+ ],
'Scalar-List-Utils' => [
{
'name' => 'List::Util',
'name' => 'Scalar::Util',
'modification' => $getModifyType->( $changes{'Scalar::Util'} ),
'data' => $changes{'Scalar::Util'}
+ },
+ {
+ 'name' => 'Sub::Util',
+ 'modification' => $getModifyType->( $changes{'Sub::Util'} ),
+ 'data' => $changes{'Sub::Util'}
}
],
'Text-Tabs+Wrap' => [
my ( $existing, $old, $new ) = @_;
my ( $added, $removed, $updated, $manuallyCheck ) = corelist_delta( $old => $new );
- if ($manuallyCheck) {
+ if (@{$manuallyCheck}) {
print "It cannot be determined whether the following distributions have changed.\n";
print "Please check and list accordingly:\n";
say "\t* $_" for sort @{$manuallyCheck};
sub add_to_section {
my ( $section, $data, $title ) = @_;
- #undef is a valid version name in Module::CoreList so supress warnings about concatenating undef values
+ #undef is a valid version name in Module::CoreList so suppress warnings about concatenating undef values
no warnings 'uninitialized';
for ( values %{ $data->{$title} } ) {
my ( $mod, $old_v, $new_v ) = @{$_};
# if we could not parse the module name, it will be uninitalized
# in sort. This is not a problem as it will just result in these
- # sections being placed near the begining of the section
+ # sections being placed near the beginning of the section
no warnings 'uninitialized';
$section->{items} =
[ sort { lc $a->{name} cmp lc $b->{name} } @{ $section->{items} } ];