From 418101af1d14d3dfe15748186b18072308bd1a5b Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 25 Jan 2015 23:21:12 +0200 Subject: [PATCH] Fix keys on reference is experimental warning --- lib/Plack/App/Gruntmaster/HTML.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 3306be2..dc74d87 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -238,7 +238,7 @@ sub process_log { my $elem = $tree->fclass($cls); next unless $elem; delete $args{args}{page}; - my $str = join '&', map { $_ . '=' . $args{args}{$_} } keys $args{args}; + my $str = join '&', map { $_ . '=' . $args{args}{$_} } keys %{$args{args}}; $elem->find('a')->edit_href(sub{s/$/&$str/}); } $tree->fclass('current')->replace_content("Page $args{current_page} of $args{last_page}"); -- 2.39.2