~abyxcos/smallblog

defce3b4e981dc82d66d7707190b1d93c23efbd2 — abyxcos 4 years ago cf231e4 smallblog.pl
Update perl syntax as reported by JonJFineman.

Experimental keys on scalar is now forbidden at ../../smallblog.pl line 119.
Type of arg 1 to keys must be hash or array (not hash element) at ../../smallblog.pl line 119, near "}) "
Execution of ../../smallblog.pl aborted due to compilation errors.
1 files changed, 1 insertions(+), 1 deletions(-)

M smallblog.pl
M smallblog.pl => smallblog.pl +1 -1
@@ 116,7 116,7 @@ foreach my $post (@posts) {
}

# Generate tags/$tag.html
foreach my $tag (keys $site->{tags}) {
foreach my $tag (keys %{$site->{tags}}) {
	my @tag_posts = map {grep(/$tag/, @{$_->{tags}}) ? $_ : ()} @posts;

	my $vars = {