diff options
author | John Ankarström <john@ankarstrom.se> | 2021-05-07 01:01:26 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-05-07 01:01:26 +0200 |
commit | eff71d913041ac2ca1881356972b0e13428d0cb2 (patch) | |
tree | 3ef3d5f21a4cb252eef19824330645724629486a | |
parent | 2c1ae002c82e0cd3b6837199fa0e58e9fb4647cc (diff) | |
download | perlisdead-eff71d913041ac2ca1881356972b0e13428d0cb2.tar.gz |
Fix syntax error
-rwxr-xr-x | run/perlmonks | 2 |
1 files changed, 1 insertions, 1 deletions
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; |