Port to Perl 5.32
This commit is contained in:
parent
41380bb04f
commit
12db194723
|
@ -135,7 +135,7 @@ sub update {
|
||||||
$atomfeed = $api->getFeed($self->{url});
|
$atomfeed = $api->getFeed($self->{url});
|
||||||
} catch {
|
} catch {
|
||||||
$self->log->error("error fetching $self->{url}: $@");
|
$self->log->error("error fetching $self->{url}: $@");
|
||||||
}
|
};
|
||||||
if ($atomfeed) {
|
if ($atomfeed) {
|
||||||
my @items = $atomfeed->entries;
|
my @items = $atomfeed->entries;
|
||||||
for my $item (@items) {
|
for my $item (@items) {
|
||||||
|
|
Loading…
Reference in New Issue