From eff71d913041ac2ca1881356972b0e13428d0cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 7 May 2021 01:01:26 +0200 Subject: Fix syntax error --- run/perlmonks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/perlmonks b/run/perlmonks index d64c93d..4c99ecf 100755 --- a/run/perlmonks +++ b/run/perlmonks @@ -29,7 +29,7 @@ my @nodes = for (@nodes) { my ($node, $time) = @$_; my $d = $time->strftime('%a, %e %B %Y %H:%M:%S UTC'); - my $f = encode_entities ($node->findnodes('./@authortitle'))[0]->to_literal; + my $f = encode_entities(($node->findnodes('./@authortitle'))[0]->to_literal); (my $s = encode_entities $node->to_literal) =~ s/^\s+|\s+$//; my $l = 'https://www.perlmonks.org/?node_id=' . ($node->findnodes('./@node_id'))[0]->to_literal; -- cgit v1.2.3