App-FormatCPANChanges-PERLANCAR
view release on metacpan or search on metacpan
lib/App/FormatCPANChanges/PERLANCAR.pm view on Meta::CPAN
file => {
schema => 'str*',
summary => 'If not specified, will look for a file called '.
'Changes/ChangeLog in current directory',
pos => 0,
},
},
};
sub format_cpan_changes_perlancar {
require App::ParseCPANChanges;
#require DateTime::Format::Alami::EN;
require Text::Wrap;
my %args = @_;
my $res = App::ParseCPANChanges::parse_cpan_changes(file => $args{file});
return $res unless $res->[0] == 200;
# parse dates and sort releases
my @rels;
for my $v (keys %{ $res->[2]{releases} }) {
( run in 0.243 second using v1.01-cache-2.11-cpan-05444aca049 )