We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a011f78 commit 406ef2bCopy full SHA for 406ef2b
bin/suggest.pl
@@ -9,11 +9,11 @@
9
use MetaCPAN::ES;
10
11
# args
12
-my $all;
13
my $days = 1;
+my ( $all );
14
GetOptions(
15
"all" => \$all,
16
- "days=i" => \$days
+ "days=i" => \$days,
17
);
18
19
if ($all) {
@@ -60,7 +60,7 @@ ()
60
}
61
62
sub _update_slice ($range) {
63
- my $es = MetaCPAN::ES->new( type => "file" );
+ my $es = MetaCPAN::ES->new( index => "file" );
64
65
my $files = $es->scroll(
66
scroll => '5m',
0 commit comments