From cab32b741b4c5a5e16b225885db62831bbcc3b63 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 25 Jan 2020 15:01:44 +0000 Subject: nicer scan-dir signature --- bin/maildir-indexer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/maildir-indexer b/bin/maildir-indexer index 1bb1740..685607c 100644 --- a/bin/maildir-indexer +++ b/bin/maildir-indexer @@ -8,7 +8,7 @@ use MaildirIndexer::Index::ByRef; use MaildirIndexer::Index::ByAddresses; sub MAIN(*@maildirs, Int :$port = 9000) { - my $file-channel = scan-dir(@maildirs).Channel; + my $file-channel = scan-dir(|@maildirs).Channel; my $store = MaildirIndexer::Store.new( :$file-channel, indices => ( -- cgit v1.2.3