-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
With a newly installed perl5.24.1 (and also with newly installed 5.22.3), and trying to run the example code from the docs:
#!/usr/bin/env perl
use 5.18.2;
use warnings;
use CPAN::Releases::Latest;
# my $latest = CPAN::Releases::Latest->new(max_age => '1 day');
my $latest = CPAN::Releases::Latest->new(max_age => 0);
my $iterator = $latest->release_iterator();
while (my $release = $iterator->next_release) {
printf "%s path=%s time=%d size=%d\n",
$release->distname,
$release->path,
$release->timestamp,
$release->size;
}
I get the following message: failed to delete scroller at /usr/local/lib/perl5/site_perl/5.24.1/MetaCPAN/Client/Scroll.pm line 163.
I also get no output.
I see the same behaviour using the commented line (max_age => '1 day') instead, but sometimes I do not get the scroller message in this case. However, I never see the expected output.
I wonder whether it might be related to metacpan/MetaCPAN-Client#70 ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels