From 12db194723b63d98743be463062acfabfc4ab5f4 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 29 Aug 2021 09:24:59 +0200 Subject: [PATCH] Port to Perl 5.32 --- lib/Rss2Html/Feed.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Rss2Html/Feed.pm b/lib/Rss2Html/Feed.pm index 2dfee43..a77d918 100644 --- a/lib/Rss2Html/Feed.pm +++ b/lib/Rss2Html/Feed.pm @@ -135,7 +135,7 @@ sub update { $atomfeed = $api->getFeed($self->{url}); } catch { $self->log->error("error fetching $self->{url}: $@"); - } + }; if ($atomfeed) { my @items = $atomfeed->entries; for my $item (@items) {